Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68986

ADT editor does not keep formatting (line breaks)

    Details

    • Fix Priority:
      2

      Description

      Steps to reproduce:
      Create any ADT, name it "Formatting Test". Enter the following content:

      <div>
          <div>
              Test for formatting the ADT
          </div>
      </div>

      Click "Save and Continue" (or "Save" and open the template again).

      Result: The template is displayed as

      <div>     <div>         Test for formatting the ADT     </div> </div>

      Expected: Formatting (Line Breaks) are kept.

      Observed on Linux and Windows in case someone wonders about \n, \r\n or other linebreak handling.

        Attachments

        1. 68986_2.png
          68986_2.png
          4 kB
        2. 68986.png
          68986.png
          13 kB

          Activity

            People

            • Assignee:
              sylvia.luan Sylvia Luan
              Reporter:
              olaf.kock Olaf Kock
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 26 weeks, 6 days ago

                Packages

                Version Package