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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.2.4
    • Fix Version/s: 3.2.6
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Platform
    • Sprint:
      Platform Sprint 140, Platform Sprint 141, Platform Sprint 142

      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

              • Assignee:
                Unassigned
                Reporter:
                oscholten Oscar Scholten (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: