fix: add missing html tags to whitelist

This commit is contained in:
NGPixel 2020-02-09 22:54:14 -05:00
parent 4bf94a1d30
commit 09554c8528

View File

@ -9,8 +9,10 @@ module.exports = {
a: ['class', 'id', 'href', 'style', 'target', 'title'], a: ['class', 'id', 'href', 'style', 'target', 'title'],
blockquote: ['class', 'id', 'style'], blockquote: ['class', 'id', 'style'],
code: ['class', 'style'], code: ['class', 'style'],
details: ['class', 'style'],
div: ['class', 'id', 'style'], div: ['class', 'id', 'style'],
em: ['class', 'style'], em: ['class', 'style'],
figure: ['class', 'style'],
h1: ['class', 'id', 'style'], h1: ['class', 'id', 'style'],
h2: ['class', 'id', 'style'], h2: ['class', 'id', 'style'],
h3: ['class', 'id', 'style'], h3: ['class', 'id', 'style'],
@ -25,8 +27,10 @@ module.exports = {
p: ['class', 'style'], p: ['class', 'style'],
path: ['d', 'style'], path: ['d', 'style'],
pre: ['class', 'style'], pre: ['class', 'style'],
section: ['class', 'style'],
span: ['class', 'style'], span: ['class', 'style'],
strong: ['class', 'style'], strong: ['class', 'style'],
summary: ['class', 'style'],
svg: ['width', 'height', 'viewBox', 'preserveAspectRatio', 'style'], svg: ['width', 'height', 'viewBox', 'preserveAspectRatio', 'style'],
table: ['border', 'class', 'id', 'style', 'width'], table: ['border', 'class', 'id', 'style', 'width'],
tbody: ['class', 'style'], tbody: ['class', 'style'],