Releases: LeSuisse/vue-dompurify-html
Releases · LeSuisse/vue-dompurify-html
2.1.1
2.1.0
- Compatibility with DOMPurify 2.0.0
2.0.0
Features
- vue-dompurify-html now lets you define a default DOMPurify configuration (#60) - thanks @RohanTalip!
Breaking change
If you had defined some DOMPurify configurations, you will need to update the directive configuration from
Vue.use(VueDOMPurifyHTML, {
'svg': {
USE_PROFILES: { svg: true }
},
'mathml': {
USE_PROFILES: { mathMl: true }
}
});
to
Vue.use(VueDOMPurifyHTML, {
namedConfigurations: {
'svg': {
USE_PROFILES: { svg: true }
},
'mathml': {
USE_PROFILES: { mathMl: true }
}
}
});