Skip to content

Commit

Permalink
Add MathML
Browse files Browse the repository at this point in the history
  • Loading branch information
otherdaniel committed Apr 9, 2024
1 parent db35500 commit 7b5fe3f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,13 @@ For the main <dfn>sanitize</dfn> operation, using a {{ParentNode}} |node|, a
trailing ASCII whitespace=] from |attr|'s [=get an attribute
value|value=]:
1. Then [=remove an attribute|remove=] |attr|.
1. If |child|'s [=Element/namespace=] [=string/is=] the
[=MathML Namespace=] and |attr|'s [=Attr/local name=] [=string/is=]
"`href`" and "`javascript:`" is a
[=code unit prefix=] of the result of [=strip leading and
trailing ASCII whitespace=] from |attr|'s [=get an attribute
value|value=]:
1. Then [=remove an attribute|remove=] |attr|.
1. If the [=animating URL attributes list=] [=SanitizerConfig/contains=]
&laquo;[|elementName|, |attrName|]&raquo; and |attr|'s
[=get an attribute value|value=] [=string/is=] "`href`" or
Expand Down

0 comments on commit 7b5fe3f

Please sign in to comment.