diff --git a/server/modules/rendering/html-security/renderer.js b/server/modules/rendering/html-security/renderer.js index 577d88ec..0e48fa02 100644 --- a/server/modules/rendering/html-security/renderer.js +++ b/server/modules/rendering/html-security/renderer.js @@ -9,8 +9,10 @@ module.exports = { a: ['class', 'id', 'href', 'style', 'target', 'title'], blockquote: ['class', 'id', 'style'], code: ['class', 'style'], + details: ['class', 'style'], div: ['class', 'id', 'style'], em: ['class', 'style'], + figure: ['class', 'style'], h1: ['class', 'id', 'style'], h2: ['class', 'id', 'style'], h3: ['class', 'id', 'style'], @@ -25,8 +27,10 @@ module.exports = { p: ['class', 'style'], path: ['d', 'style'], pre: ['class', 'style'], + section: ['class', 'style'], span: ['class', 'style'], strong: ['class', 'style'], + summary: ['class', 'style'], svg: ['width', 'height', 'viewBox', 'preserveAspectRatio', 'style'], table: ['border', 'class', 'id', 'style', 'width'], tbody: ['class', 'style'],