From dbb8817ba16b9d20bbaecbaed24be8253a816775 Mon Sep 17 00:00:00 2001 From: Wayne Zhang Date: Tue, 19 Nov 2024 12:05:49 +0800 Subject: [PATCH 1/2] Update docs/rules/no-v-text-v-html-on-component.md Co-authored-by: Flo Edelmann --- docs/rules/no-v-text-v-html-on-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-v-text-v-html-on-component.md b/docs/rules/no-v-text-v-html-on-component.md index 638a1bde2..f4b38e585 100644 --- a/docs/rules/no-v-text-v-html-on-component.md +++ b/docs/rules/no-v-text-v-html-on-component.md @@ -51,7 +51,7 @@ If you use v-text / v-html on a component, it will overwrite the component's con ``` - `allow` (`string[]`) ... Specify a list of custom components for which the rule should not apply. -- `ignoreElementNamespaces` (`boolean`) ... Specify whether to ignore the namespace restrictions for SVG and MathML elements, so that the rule should not apply. Default is `false`. +- `ignoreElementNamespaces` (`boolean`) ... If `true`, always treat SVG and MathML tag names as HTML elements, even if they are not used inside a SVG/MathML root element. Default is `false`. ### `{ "allow": ["router-link", "nuxt-link"] }` From ed256b9c578f4dc581ee6fb2a22b9335d26b25e1 Mon Sep 17 00:00:00 2001 From: Wayne Zhang Date: Tue, 19 Nov 2024 12:05:59 +0800 Subject: [PATCH 2/2] Update docs/rules/no-v-text-v-html-on-component.md Co-authored-by: Flo Edelmann --- docs/rules/no-v-text-v-html-on-component.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/rules/no-v-text-v-html-on-component.md b/docs/rules/no-v-text-v-html-on-component.md index f4b38e585..7d75eb9c9 100644 --- a/docs/rules/no-v-text-v-html-on-component.md +++ b/docs/rules/no-v-text-v-html-on-component.md @@ -77,8 +77,8 @@ If you use v-text / v-html on a component, it will overwrite the component's con ```vue ```