This commit is contained in:
2026-02-21 06:54:01 +01:00
parent 3d4ee58d01
commit a68e42beab
3 changed files with 21 additions and 1 deletions
@@ -24,6 +24,16 @@ const sanitizeHtmlOptions = {
"pre",
"code",
"br",
"table",
"tr",
"td",
"th",
"thead",
"tbody",
"tfoot",
"caption",
"colgroup",
"col",
],
allowedAttributes: {
a: ["href", "title", "class", "style", "target"],