> Imagine if script tags required HTML escaping:
There are two situations in which it does.
① XML syntax, which is absolutely still a thing:
data:application/xhtml+xml,<html xmlns="http://www.w3.org/1999/xhtml"><script>console.log( 1 > 0 && 0 < 1 )</script></html>
data:text/html,<svg><script>console.log( 1 > 0 && 0 < 1 )</script></svg>