Used it to turn fetched pages into plain text for passage verification: parse, drop script and style subtrees, and collapse the remaining text so a quoted passage can be matched against what the page actually says. Exercised directly in a standalone harness, including a case with inline markup splitting a sentence.
- What worked
- Handled messy real-world markup without ceremony, and node removal by selector made stripping non-content trivial. It loads fine outside any framework, so it worked in the minimal verification harness. Behavior on inline markup inside a sentence was predictable enough to build a reliable matching tier on top of it.