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

Line breaks are being stripped from Message Board content

    Details

      Description

      Reproduction Steps:

      1. Add a Message Boards portlet to a page.
      2. Create a new thread.
      3. In the thread's message, separate each line with a return. For example:

       

      A
      B
      C
      D
      

       

      Expected Behavior: WYSIWYG. The line breaks remain between A, B, C, and D.

      Actual Behavior: The line breaks disappear, the message displays ABCD on one line.

       

      Reproduced in:

      Master Commit: 2f11b484a399edbf5a21a940855cba106174eab8
      7.2.X Commit: Commit: 113548ede046704ceaf0f3a668ce5d0c0f66923e

       

       This issue is not reproducible in Firefox.

      • Firefox automatically appends both <p> AND <br> tags when using the enter key. Edge and Chrome only add the <p> tags and therefore are affected by the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              lianne.louie Lianne Louie
              Participants of an Issue:
              Recent user:
              Jason Pince
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                30 weeks ago

                  Packages

                  Version Package
                  7.1.10 DXP FP19
                  7.1.X
                  7.2.10 DXP FP5
                  7.2.10.2 DXP SP2
                  7.2.X
                  7.3.1 CE GA2
                  7.3.2 CE GA3
                  7.3.10 DXP GA1
                  Master