@@ -27,12 +27,13 @@ const SVG_TAGS =
27
27
'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +
28
28
'text,textPath,title,tspan,unknown,use,view'
29
29
30
- // https://developer.mozilla .org/en-US/docs/Web/MathML/Element
30
+ // https://www.w3 .org/TR/mathml4/ (content elements excluded)
31
31
const MATH_TAGS =
32
- 'math,maction,annotation,annotation-xml,menclose,merror,mfenced,mfrac,mi,' +
32
+ 'annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,' +
33
+ 'merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,' +
33
34
'mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,' +
34
- 'semantics,mspace,msqrt,mstyle,msub,msup,msubsup,mtable,mtd,mtext,mtr ,' +
35
- 'munder,munderover'
35
+ 'mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub ,' +
36
+ 'msubsup,msup,mtable,mtd,mtext,mtr, munder,munderover,none,semantics '
36
37
37
38
const VOID_TAGS =
38
39
'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr'
0 commit comments