leizongmin / js-xss

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

feat: add <kbd> to default whitelist #279

Closed rayrny closed 4 months ago

rayrny commented 1 year ago

Hello! First of all, thanks for this good library :)

Like <code>, <blockquote>, <h1> tags, <kbd> tag is also used in WYSIWYG editor. So, I added <kbd> tag to default whitelist. Please check!

leizongmin commented 4 months ago

@rayrny I just merged this MR and released a new version xss@1.0.15.