added support for the kbd tag in markdown (#611)

This commit is contained in:
jade
2022-08-18 08:51:34 -05:00
committed by GitHub
parent 9a2243da9f
commit 093080894b
2 changed files with 15 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ const options = {
h4: ['id'],
h5: ['id'],
h6: ['id'],
kbd: ['id'],
input: ['checked', 'disabled', 'type'],
iframe: ['width', 'height', 'allowfullscreen', 'frameborder'],
img: [...xss.whiteList.img, 'style'],