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

Liferay HTML Sanitizer strips legitimate HTML 5 tags

    Details

      Description

      I was working in Liferay's Knowledge Base with content that includes the HTML 5 aside tag. The Content field in this application has a portlet model hint that calls the sanitizer. Whenever I'd use an aside tag (a legitimate HTML 5 tag), the sanitizer would strip it out. 

      Liferay's sanitizer needs to be updated so that legitimate HTML 5 tags can be used. 

       

      HTML5 new elements: https://www.w3schools.com/hTML/html5_new_elements.asp

      Old elements not in list: address

        Attachments

          Activity

            People

            Assignee:
            brian.lee Brian Lee
            Reporter:
            richard.sezov Rich Sezov
            Participants of an Issue:
            Recent user:
            Nóra Szél
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 37 weeks, 2 days ago

                Packages

                Version Package
                Master