fix: allow figcaption in xss module

This commit is contained in:
Nicolas Giard 2020-02-27 01:17:24 -05:00 committed by GitHub
parent df933f5dc4
commit fba9e0058f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ module.exports = {
details: ['class', 'style'], details: ['class', 'style'],
div: ['class', 'id', 'style'], div: ['class', 'id', 'style'],
em: ['class', 'style'], em: ['class', 'style'],
figcaption: ['class', 'style'],
figure: ['class', 'style'], figure: ['class', 'style'],
h1: ['class', 'id', 'style'], h1: ['class', 'id', 'style'],
h2: ['class', 'id', 'style'], h2: ['class', 'id', 'style'],