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> tag to default whitelist #270

Closed rayrny closed 1 year 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!

maosmurf commented 1 year ago

Hi @rayrny , as I also just had a PR opened and rejected:

The base branch requires all commits to be signed.

rayrny commented 1 year ago

@maosmurf Oh, thanks for letting me know!

rayrny commented 1 year ago

Closed because I didn't set the commit signature