Skip to content

Commit 2c2ef53

Browse files
committed
chore: fix frontend linter
1 parent ea14280 commit 2c2ef53

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

web/src/components/MemoContent/constants.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,7 @@ export const SANITIZE_SCHEMA = {
2424
div: [...(defaultSchema.attributes?.div || []), "className"],
2525
span: [...(defaultSchema.attributes?.span || []), "className", "style", ["aria*"], ["data*"]],
2626
// iframe attributes for video embeds
27-
iframe: [
28-
"src",
29-
"width",
30-
"height",
31-
"frameborder",
32-
"allowfullscreen",
33-
"allow",
34-
"title",
35-
"referrerpolicy",
36-
"loading",
37-
],
27+
iframe: ["src", "width", "height", "frameborder", "allowfullscreen", "allow", "title", "referrerpolicy", "loading"],
3828
// MathML attributes for KaTeX rendering
3929
annotation: ["encoding"],
4030
math: ["xmlns"],

0 commit comments

Comments
 (0)