The sentence "Here is a <title> tag" triggers an end event at the end of the sentence, despite there being no closing HTML tag.
As far as I can tell, this occurs when a block of text ends with a <title> tag followed by text.
I haven't found any tag other than <title> that causes this issue.
tested with HTML::Parser 3.71 & 3.76