Skip to content

Commit

Permalink
Fixup spec references. (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
otherdaniel authored Sep 21, 2022
1 parent da328f4 commit bd62543
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,9 @@ To <dfn>sanitize a document fragment</dfn> named |fragment| with a {{Sanitizer}}
1. [=map/Set=] |m|[|node|] to |action|.
1. [=list/iterate|For each=] |node| in |nodes|:
1. If |m|[|node|] is `drop`, [=/remove=] |node|.
1. If |m|[|node|] is `block`, invoke [=Replace with=] with |node| as [=this=] and |node|'s [=tree/children=] as |nodes|.
1. If |m|[|node|] is `block`, create a {{DocumentFragment}} |fragment|,
[=/append=] all of |node|'s [=tree/children=] to |fragment|, and
[=/replace=] |node| within |node|'s [=tree/parent=] with |fragment|.
1. If |m|[|node|] is `keep`, do nothing.
</div>

Expand Down

0 comments on commit bd62543

Please sign in to comment.