Browse Source

fix: html sanitizer - whitelist i tag

pull/1740/head
NGPixel 5 years ago
parent
commit
2ff3abe0d8
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

@ -20,6 +20,7 @@ module.exports = {
h4: ['class', 'id', 'style'],
h5: ['class', 'id', 'style'],
h6: ['class', 'id', 'style'],
i: ['class', 'style'],
img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'],
input: ['class', 'disabled', 'type', 'checked', 'id'],
kbd: ['class'],

Loading…
Cancel
Save