DescriptionThe XHTML document
<xmp> </xmp> </xmp>
is not translatable to an HTML document since the close equivalent
<xmp> </xmp> </xmp>
has a different meaning.
This change fixes this to cause rendering CDATA content in HTML
rendering mode that contains a sequence of characters that would close
the CDATA element to fail with an IllegalStateException.
This is not a breach vector since no CDATA content elements appear on
our schema whitelist, hence no need for responsible disclosure, but it
is a correctness and maintainability issue.
Submitted @3273
Patch Set 1 #Patch Set 2 : Fix HTML renderer to prevent rendering of unrenderable CDATA content.. #
Total comments: 1
MessagesTotal messages: 1
|
||||||||||||||||||||||||||||