mirror of
https://github.com/defnull/fediwall.git
synced 2024-11-25 00:53:15 +01:00
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