Browse Source

fix: whitelist task list checkboxes

pull/1609/head
NGPixel 5 years ago
parent
commit
bacbe4f543
1 changed files with 2 additions and 0 deletions
  1. 2
      server/modules/rendering/html-security/renderer.js

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

@ -21,7 +21,9 @@ module.exports = {
h5: ['class', 'id', 'style'],
h6: ['class', 'id', 'style'],
img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'],
input: ['class', 'disabled', 'type', 'checked', 'id'],
kbd: ['class'],
label: ['class', 'id', 'for'],
li: ['class', 'style'],
mark: ['class', 'style'],
ol: ['class', 'style'],

Loading…
Cancel
Save