Browse Source

fix: allow figcaption in xss module

Nicolas Giard 5 years ago
parent
commit
fba9e0058f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      server/modules/rendering/html-security/renderer.js

+ 1 - 0
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'],