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

Web Content's Content Section is Double Escaping HTML in Content Sidebar

    Details

      Description

      Description
      Content section in WC uses an HTML editor now. With this, we need to be sure we don't double escape (or maybe we need to unescape) the HTML causing < to appear as < > to appear as > and ' ' appears as  

      Steps to Reproduce

      1. Navigate to Site Admin > Content > Web Content
      2. Add a WC with Title 'Test' and Content '< test >'
      3. Navigate to Liferay Home
      4. Click on on Top right to bring sidebar
      5. Look for your WC in Content Panel

      Expected Result
      < test > displayed as content

      Actual Result
      <   test   > displayed

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: 58202d4d9e68a703cc0586e76b9da9ad32f87b00

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kyle.miho Kyle Miho
                Reporter:
                kyle.miho Kyle Miho
                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:
                  1 year, 12 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.0 Beta 2
                  7.1.X
                  Master