Prechádzať zdrojové kódy

fix: allow figcaption in xss module

Nicolas Giard 5 rokov pred
rodič
commit
fba9e0058f

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