js-xss
js-xss copied to clipboard
The module encodes any < > even if they are not part of a tag
For example:
xss("This is a > test")
will result:
this is a > test
I wonder if there is a way to sanitise only Tags?
你好 解决了吗? 我也遇到了相同的问题
Same for me. It breaks content of the style
attribute that contains css selector ">"