Skip to content

Commit

Permalink
Update docs/rules/no-v-text-v-html-on-component.md
Browse files Browse the repository at this point in the history
Co-authored-by: Flo Edelmann <[email protected]>
  • Loading branch information
waynzh and FloEdelmann authored Nov 19, 2024
1 parent dbb8817 commit ed256b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rules/no-v-text-v-html-on-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ If you use v-text / v-html on a component, it will overwrite the component's con
```vue
<template>
<!-- ✓ GOOD -->
<g v-text="content" /> <!-- <svg> -->
<mi v-text="content" /> <!-- <math> -->
<g v-text="content" /> <!-- SVG element not inside of <svg> -->
<mi v-text="content" /> <!-- MathML element not inside of <math> -->
</template>
```

Expand Down

0 comments on commit ed256b9

Please sign in to comment.