Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
10.4
-
None
-
Unknown
-
N/A
-
N/A
-
Description
It seems the HTML macro clean=true is cleaning some valid tags. The <section> tag is being cleaned.
This seems also to impact the wysiwyg editor which seems to clean it also regardless of the clean parameter (I'm creating a separate bug for this)
The section tag should be valid:
https://www.w3schools.com/tags/tag_section.asp
Example content:
If there is not border then the tag around the content has disappeared. == Clean false, Section == {{html clean="false"}} <section style="text-align: center; border: 1px solid;"> Hi </section> {{/html}} == Clean false, Div == {{html clean="false"}} <div style="text-align: center; border: 1px solid;"> Hi </div> {{/html}} == Clean true, Section == {{html clean="true"}} <section style="text-align: center; border: 1px solid;"> Hi </section> {{/html}} == Clean true, div == {{html clean="true"}} <div style="text-align: center; border: 1px solid;"> Hi </div> {{/html}}
Attachments
Issue Links
- duplicates
-
XCOMMONS-901 Support both XHTML 1.0 and XHTML 5 in HtmlCleaner
- Closed