From fba9e0058fdeaef3ebbd1ba46ffd59625922a7b6 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Thu, 27 Feb 2020 01:17:24 -0500 Subject: [PATCH] fix: allow figcaption in xss module --- server/modules/rendering/html-security/renderer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/rendering/html-security/renderer.js b/server/modules/rendering/html-security/renderer.js index 0e48fa02..7149c310 100644 --- a/server/modules/rendering/html-security/renderer.js +++ b/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'],