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

Multiple spaces in assets are rendered as html tags when viewed in Add Content panel

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: WCM > Product Menu
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Steps to reproduce issue:

      1. Navigate to Site Administration > Content > Web Content
      2. Add a web content article
        • Title field: provide a title
        • Content field:
                this  is some content    
          
      3. # Publish article
      4. Navigate to a page
      5. Click the "+" icon in the top right hand of the control menu
      6. Expand the Content panel
      7. View the asset in the "Recent" section

      Expected result: Spaces are rendered as spaces
      Actual result: Multiple spaces are rendered as html tag nbsp;

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7
      Portal Master GIT ID: 05eebbc58315ec78c801e8173dc1e0066bd75212

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                anthony.chu Anthony Chu
                Reporter:
                anthony.chu Anthony Chu
                Participants of an Issue:
                Recent user:
                Anthony Chu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 12 weeks, 4 days ago

                  Packages

                  Version Package