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

A br is inserted when viewing a journal article template in every html new line

    Details

      Description

      Steps to reproduce:

      1. Create a new structure
      2. Create a template with the code of the attached txt
      3. configure WCM to use workflow
      4. Create an article WITHOUT SUMMARY
      5. Go to my workflow tasks and click on "Assing to my roles" tab

      Expected: You see a plain text (see the attached image)

      Current: You see a text with a lot of unexpected spaces

       

      This is produced because the jsp is processing the template as plain text  so each line brek of the html is been traduced to a \n and this is rendered as <br>

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 weeks ago

                Packages

                Version Package
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                Master