Skip to content

Commit ed256b9

Browse files
waynzhFloEdelmann
andauthored
Update docs/rules/no-v-text-v-html-on-component.md
Co-authored-by: Flo Edelmann <[email protected]>
1 parent dbb8817 commit ed256b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/no-v-text-v-html-on-component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ If you use v-text / v-html on a component, it will overwrite the component's con
7777
```vue
7878
<template>
7979
<!-- ✓ GOOD -->
80-
<g v-text="content" /> <!-- <svg> -->
81-
<mi v-text="content" /> <!-- <math> -->
80+
<g v-text="content" /> <!-- SVG element not inside of <svg> -->
81+
<mi v-text="content" /> <!-- MathML element not inside of <math> -->
8282
</template>
8383
```
8484

0 commit comments

Comments
 (0)