From 2c2ef537374daab5a80ee80b53c0256def1c1d96 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 17 Dec 2025 09:04:05 +0800 Subject: [PATCH] chore: fix frontend linter --- web/src/components/MemoContent/constants.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/web/src/components/MemoContent/constants.ts b/web/src/components/MemoContent/constants.ts index 0e7e23b4..2a7c8293 100644 --- a/web/src/components/MemoContent/constants.ts +++ b/web/src/components/MemoContent/constants.ts @@ -24,17 +24,7 @@ export const SANITIZE_SCHEMA = { div: [...(defaultSchema.attributes?.div || []), "className"], span: [...(defaultSchema.attributes?.span || []), "className", "style", ["aria*"], ["data*"]], // iframe attributes for video embeds - iframe: [ - "src", - "width", - "height", - "frameborder", - "allowfullscreen", - "allow", - "title", - "referrerpolicy", - "loading", - ], + iframe: ["src", "width", "height", "frameborder", "allowfullscreen", "allow", "title", "referrerpolicy", "loading"], // MathML attributes for KaTeX rendering annotation: ["encoding"], math: ["xmlns"],