Good first issue. The Svelte masker (#3984) ends a masked <script> block with U+2028 + ; so a trailing // line comment can't swallow the terminator. The Astro masker still uses a bare ;.
Where: graphify/extract.py _astro_mask_non_script
What: replace the single-; terminator with the same byte-neutral U+2028+; form _svelte_mask_non_script uses; add a test with a trailing // comment before </script>.
Acceptance: new Astro test passes; existing Astro tests unchanged.
Good first issue. The Svelte masker (#3984) ends a masked
<script>block withU+2028+;so a trailing//line comment can't swallow the terminator. The Astro masker still uses a bare;.Where:
graphify/extract.py_astro_mask_non_scriptWhat: replace the single-
;terminator with the same byte-neutralU+2028+;form_svelte_mask_non_scriptuses; add a test with a trailing//comment before</script>.Acceptance: new Astro test passes; existing Astro tests unchanged.