diff --git a/webui/src/components/display/blobs/TextViewer.svelte b/webui/src/components/display/blobs/TextViewer.svelte index 1d638f5..516a295 100644 --- a/webui/src/components/display/blobs/TextViewer.svelte +++ b/webui/src/components/display/blobs/TextViewer.svelte @@ -12,7 +12,7 @@ if (mode === "markdown") { const { marked } = await import("marked"); const DOMPurify = await import("dompurify"); - return DOMPurify.sanitize(marked.parse(text)); + return DOMPurify.default.sanitize(marked.parse(text)); } else { return text; }