Explorar el Código

fix: allow figcaption in xss module

Nicolas Giard hace 5 años
padre
commit
fba9e0058f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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'],