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

[backport 11.0] implement custom HtmlSerializers to better control character entity encoding

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 3.2.4
    • 4.0.4
    • None
    • None
    • 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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: