pub fn run_inline_scripts(html: &str) -> StringExpand description
Run every inline <script> block in html through a fresh interpreter and
return the concatenated HTML captured via document.write / writeln.
External scripts (<script src=...>), module scripts, and non-JS script
types are ignored. Parse/evaluation errors in any single block are skipped
so that one unsupported script cannot abort the rest. The returned string
is intended to be injected back into the page so downstream conversion can
see the JS-generated content.