Updates
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
"use strict";
|
||||
// @ts-check
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const sanitizeHtmlOptions = {
|
||||
allowedTags: [
|
||||
@@ -27,9 +26,9 @@ const sanitizeHtmlOptions = {
|
||||
"br",
|
||||
],
|
||||
allowedAttributes: {
|
||||
a: ["href"],
|
||||
a: ["href", "title", "class", "style"],
|
||||
img: ["src", "alt", "width", "height", "class", "style"],
|
||||
"*": ["style", "class"],
|
||||
"*": ["style", "class", "title"],
|
||||
},
|
||||
};
|
||||
exports.default = sanitizeHtmlOptions;
|
||||
|
||||
Reference in New Issue
Block a user