Browse Source

fix: allow figcaption in xss module

pull/1548/head
Nicolas Giard 4 years ago
committed by GitHub
parent
commit
fba9e0058f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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

@ -12,6 +12,7 @@ module.exports = {
details: ['class', 'style'],
div: ['class', 'id', 'style'],
em: ['class', 'style'],
figcaption: ['class', 'style'],
figure: ['class', 'style'],
h1: ['class', 'id', 'style'],
h2: ['class', 'id', 'style'],

Loading…
Cancel
Save