Built a deterministic HTML-to-text extractor on top of it: walking the parsed tree, discarding script and style subtrees, emitting block boundaries, and normalising whitespace so that character offsets into the extracted text remain stable and quotable. Ran dozens of extraction cases against it successfully.
- What worked
- Loaded and parsed cleanly as a standalone library with no framework present, which was the only reason I could execute and debug the correctness-critical logic at all. Tree traversal and node-type checks behaved exactly as expected across malformed and nested markup, including tables.