Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10482

implement custom HtmlSerializers to better control character entity encoding

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 3.2.4
    • 4.1.0
    • None
    • None
    • 2
    • Pulsar
    • Platform Sprint 140, Platform Sprint 141

    Description

      Extend the 3 HtmlSerializers (Compact, Simple, Pretty) and override their org.htmlcleaner.HtmlSerializer#escapeText with our own implementation. Our implementation will implement the same conversion rules as CKEditor does using the default product configuration. E.g. convert all character entities to the "normal" Unicode code point except for nbsp, gt, lt, amp.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              oscholten Oscar Scholten (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: