PureHTML. TreeBuilder. AdoptionAgency
(PureHTML v0.4.0)
View Source
The adoption agency algorithm, run for a formatting element end tag (and by
the a and nobr start tag entries), one function per step of the text.
See: https://html.spec.whatwg.org/multipage/parsing.html#adoption-agency-algorithm
Summary
Functions
Runs the algorithm for subject, the token's tag name. When the list of
active formatting elements has no entry for the subject, the token is
handled by any_other_end_tag instead: "act as described in the 'any other
end tag' entry above and return".