Branch
Hash :
149c04c0
Author :
Date :
2025-08-02T14:59:02
html: Escape < and > when serializing attributes This reverts the change in cdaf657f. Coincidentally, the HTML spec just changed to mandate the old escaping behavior: https://github.com/whatwg/html/issues/6235 Fixes #957.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head><title>Script tests</title></head>
<body>
<script language="javascript">
if (window.open<max) ;
</script>
<input onclick="if(window.open<max);">
</body>
</html>