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

            brian.lee Brian Lee
            richard.sezov Rich Sezov
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 31 weeks, 6 days ago

              Packages

                Version Package
                Master