Commit 2ff3abe0 authored by NGPixel's avatar NGPixel

fix: html sanitizer - whitelist i tag

parent 5075f167
...@@ -20,6 +20,7 @@ module.exports = { ...@@ -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'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment