/** * Removes HTML script and style elements with a bounded tokenizer pass. * * An appropriate HTML raw-text end-tag name transitions only on ASCII * whitespace, a slash, `>`, or end of input. Regex-based filters routinely * accept broader punctuation lookalikes or miss parser-accepted trailing * material, exposing raw script/style bodies as visible text after a later * generic tag strip. End of input stays a delimiter: the WHATWG tokenizer's * eof-in-tag path emits nothing for a buffered `