fix: remove as const from svgSanitizeOptions to fix DOMPurify type compat
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -4,7 +4,7 @@ import { parseHTML } from "linkedom";
|
||||
const svgSanitizeOptions = {
|
||||
USE_PROFILES: { svg: true, svgFilters: true },
|
||||
FORBID_TAGS: ["style"],
|
||||
} as const;
|
||||
};
|
||||
|
||||
const LINKEDOM_NODE_PROPS = [
|
||||
"ownerDocument",
|
||||
|
||||
Reference in new issue
Block a user