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

Asset publisher escaping html tags under a calendar event description

    Details

    • Branch Version/s:
      6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      3
    • Fix Priority:
      3

      Description

      Steps to reproduce:
      1.Install tomcat bundle
      2.Login as default admin user test@liferay.com
      3.Add a Calendar portlet to a page.
      4.In the Calendar portlet, click in "Add Event".
      5.Under description enter some test text, including some line breaks and additional formatting. (For example: Choose the text -> Click ‘bold’ button.)
      6.At the bottom, click in "Save", Close the dialog

      7.Add an Asset Publisher to a page.
      8.Click on the configuration at the title bar of one of the Asset Publisher.
      9.Click in "Configuration"
      10.Under the Asset Type select 'Calendar Event'
      11. Click the 'Display settings'
      12.Under 'Display Template' select 'Full Content'
      13.At the bottom, click in "Save"; close the dialog.
      Note: The current test@liferay.com user must "Accept" event
      14.Refresh the page.

      Expected results
      The calendar event will display the calendar event details and render the html tags correctly .

      Actual results
      The Asset Publisher does display the calendar event and also displays the event description html tags instead of rendering them.

      Refer to the screenshot.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                haoliang.wu Haoliang Wu (Inactive)
                Reporter:
                emma.liu Emma Liu
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 19 weeks, 6 days ago