fix: html sanitizer - whitelist i tag
This commit is contained in:
parent
5075f16731
commit
2ff3abe0d8
@ -20,6 +20,7 @@ module.exports = {
|
|||||||
h4: ['class', 'id', 'style'],
|
h4: ['class', 'id', 'style'],
|
||||||
h5: ['class', 'id', 'style'],
|
h5: ['class', 'id', 'style'],
|
||||||
h6: ['class', 'id', 'style'],
|
h6: ['class', 'id', 'style'],
|
||||||
|
i: ['class', 'style'],
|
||||||
img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'],
|
img: ['alt', 'class', 'draggable', 'height', 'src', 'style', 'width'],
|
||||||
input: ['class', 'disabled', 'type', 'checked', 'id'],
|
input: ['class', 'disabled', 'type', 'checked', 'id'],
|
||||||
kbd: ['class'],
|
kbd: ['class'],
|
||||||
|
Loading…
Reference in New Issue
Block a user