forked from extern/fediwall
Do not allow style tags in untrusted html
This commit is contained in:
parent
eecf6003e0
commit
7ffa2a2f6d
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user