Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Won't Fix
-
2.26.18
-
None
-
None
-
None
Description
For browsers, which don't support XHTML standard, such as internet explorer 8 and before, xml codes for &, ", ', <, > can not be rendered correctly. At the end codes are left as they are, which is not very happy. See screenshot from the related client issue.
Inside Htmlcleaner instead of XML codes we can encode above mentioned characters with more universal UTF-8 codes. And Htmlcleaner comes with a configurable property transResCharsToNCR enabling this [1].
Suggested changes in the code:
In project org.onehippo.cms7:hippo-cms-richtext-frontend -> HtmlCleanerPlugin.java -> in createCleaner() method add property properties.setTransResCharsToNCR(true);
If this is valid improvement, this configuration can be either simply hardcoded or externalized to the console. Question to engineering, what may be the preferred way.
Attachments
Issue Links
- relates to
-
CMS-9555 Normalization of quote character leads to issues in both CMS and site rendering in combination with IE8
- Closed