leizongmin / js-xss

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
http://jsxss.com
Other
5.19k stars 630 forks source link

Fix Documentation Example #202

Closed swseverance closed 3 years ago

swseverance commented 4 years ago

The default behavior of the library is to replace tags that are not whitelisted with < and > rather than removing them entirely

swseverance commented 3 years ago

hi @leizongmin what do you think about this PR?

leizongmin commented 3 years ago

@swseverance It's good. Sorry for the late respond.