diff --git a/src/plugins/sanitizeHtml.ts b/src/plugins/sanitizeHtml.ts index 2e68bd9..bb8e57c 100644 --- a/src/plugins/sanitizeHtml.ts +++ b/src/plugins/sanitizeHtml.ts @@ -26,8 +26,8 @@ export function sanitizeHtmlPlugin(options?: sanitizeHtml.IOptions): Plugin { iframe: ["src", "width", "height"], a: ["href", "rel", "target"], "*": ["class", ...getMentionIdentityUserTargetElementAttrs()], - td: ["align"], - th: ["align"], + td: ["align", "colspan", "rowspan", "scope"], + th: ["align", "colspan", "rowspan"], li: ["data-list"], ...allowedAttributes, },