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

            Assignee:
            yang.cao Yang Cao
            Reporter:
            roberto.diaz Roberto Díaz
            Participants of an Issue:
            Recent user:
            Joel Garman
            Engineering Assignee:
            Roberto Díaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 10 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP89
                7.0.10.13 DXP SP13
                7.0.X
                7.1.10 DXP FP15
                7.1.X
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master