diff --git a/src/main.ts b/src/main.ts index f046234..893773c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,5 +28,10 @@ import VueDOMPurifyHTML from 'vue-dompurify-html'; const app = createApp(App) app.use(VueMasonryPlugin) -app.use(VueDOMPurifyHTML) +app.use(VueDOMPurifyHTML, { + defaults: { + FORBID_TAGS: ['style'], + FORBID_ATTR: ['style'] + } +}) app.mount('#app')