DOMPurify was configured with USE_PROFILES.svg, which implicitly allows
<style> tags so that inline SVG styling works. User-authored markdown
rendered via v-html therefore let a pasted nginx error page's
<style>body { width: 35em; margin: 0 auto }</style> through the
sanitizer and apply as global CSS, squashing the entire app layout.
Add 'style' to FORBID_TAGS so top-level style elements from document
content are dropped regardless of the SVG profile.
|
||
|---|---|---|
| .. | ||
| api | ||
| assets | ||
| components | ||
| composables | ||
| hooks | ||
| i18n | ||
| router | ||
| stores | ||
| types | ||
| utils | ||
| views | ||
| wailsjs | ||
| App.vue | ||
| main.ts | ||