We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b28566 commit fb4207cCopy full SHA for fb4207c
packages/compiler-dom/src/parserOptions.ts
@@ -24,7 +24,7 @@ export const parserOptions: ParserOptions = {
24
let ns = parent ? parent.ns : rootNamespace
25
if (parent && ns === Namespaces.MATH_ML) {
26
if (parent.tag === 'annotation-xml') {
27
- if (tag === 'svg') {
+ if (isSVGTag(tag)) {
28
return Namespaces.SVG
29
}
30
if (
@@ -57,10 +57,10 @@ export const parserOptions: ParserOptions = {
57
58
59
if (ns === Namespaces.HTML) {
60
61
62
63
- if (tag === 'math') {
+ if (isMathMLTag(tag)) {
64
return Namespaces.MATH_ML
65
66
0 commit comments