Reusing a `Parser` supplied to a `StreamParser` overwrites the active streaming parse state. And calling `Element.append(String)` on a streamed element has the same effect, because it uses that parser to parse the added HTML. The fix will just copy the treebuilder, while preserving configuration and error diagnostics on the supplied parser.
Activity
Clone the treebuilder so that a Parser can be reused without stompingâĶ