Called when parsing has ended.
Called when a tag is closed.
Called when a tag is opened.
The tag name.
A hash of attributes.
Called when text contents are parsed. Note that this can be called multiple times per tag, when for example the string is spread over multiple chunks.
A string.
An HTML parsing listener.