Browse Source

fix: kbd xss whitelist

pull/1452/head
NGPixel 4 years ago
parent
commit
90fbc62917
1 changed files with 1 additions and 0 deletions
  1. 1
      server/modules/rendering/html-security/renderer.js

1
server/modules/rendering/html-security/renderer.js

@ -18,6 +18,7 @@ module.exports = {
h5: ['class', 'id', 'style'],
h6: ['class', 'id', 'style'],
img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'],
kbd: ['class'],
li: ['class', 'style'],
mark: ['class', 'style'],
ol: ['class', 'style'],

Loading…
Cancel
Save