> is always unescaped in output HTML
Issue #560
new
Given the following input HTML
<strong> about > contact </strong>
<strong> about < contact </strong>
The .out
file from rainbow's test tool is:
<strong> about > contact </strong>
<strong> about < contact </strong>
This happens both with the default filter config and with a custom one specifying:
escapeCharacters: "><"
It's possibly a duplicate of: #552
Comments (2)
-
-
-
assigned issue to
- changed version to 1.41.0
-
assigned issue to
- Log in to comment
I think the '>' character is an exception that is treated differently in the XML/HTML encoder. The escapeCharacters has no effect on it.
There is another option in the encoder to escape the '>' to '>', and it seems to be currently hard-coded to false. @jhargrave Maybe we can add an option to the configuration and use that instead of the default?