fix formatting issues

This commit is contained in:
Amruth Pillai
2025-01-30 09:35:10 +01:00
parent 1fddbe5f92
commit e4327736bd
12 changed files with 3721 additions and 3671 deletions

View File

@ -63,8 +63,8 @@ export const sanitize = (html: string, options?: sanitizeHtml.IOptions) => {
allowedAttributes: {
...options?.allowedAttributes,
"*": ["class", "style"],
"a": ["href", "target"],
"img": ["src", "alt"],
a: ["href", "target"],
img: ["src", "alt"],
},
allowedStyles: {
...options?.allowedStyles,