🐛 HTML: Parser needs to be able to accept lone <
and >
in <pre>
tags
#4833
Labels
A-Parser
Area: parser
L-HTML
Language: HTML
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
https://biomejs.dev/playground/?bracketSameLine=true&files.main.html=PABmAGkAZwB1AHIAZQAgAHIAbwBsAGUAPQAiAGkAbQBnACIAIABhAHIAaQBhAC0AbABhAGIAZQBsAGwAZQBkAGIAeQA9ACIAYwBvAHcALQBjAGEAcAB0AGkAbwBuACIAPgAKACAAIAA8AHAAcgBlAD4ACgBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwAKADwAIABJACcAbQAgAGEAbgAgAGUAeABwAGUAcgB0ACAAaQBuACAAbQB5ACAAZgBpAGUAbABkAC4AIAA%2BAAoALQAtAC0ALQAtAC0ALQAtAC0ALQAtAC0ALQAtAC0ALQAtAC0ALQAtAC0ALQAtAC0ALQAtAC0ACgAgACAAIAAgACAAXAAgACAAIABeAF8AXwBeAAoAIAAgACAAIAAgACAAXAAgACAAKABvAG8AKQBcAF8AXwBfAF8AXwBfAF8ACgAgACAAIAAgACAAIAAgACAAIAAoAF8AXwApAFwAIAAgACAAIAAgACAAIAApAFwALwBcAAoAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAB8AHwALQAtAC0ALQB3ACAAfAAKACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAfAB8ACAAIAAgACAAIAB8AHwACgBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwAKACAAIAA8AC8AcAByAGUAPgAKACAAIAA8AGYAaQBnAGMAYQBwAHQAaQBvAG4AIABpAGQAPQAiAGMAbwB3AC0AYwBhAHAAdABpAG8AbgAiAD4ACgAgACAAIAAgAEEAIABjAG8AdwAgAHMAYQB5AGkAbgBnACwAIAAiAEkAJwBtACAAYQBuACAAZQB4AHAAZQByAHQAIABpAG4AIABtAHkAIABmAGkAZQBsAGQALgAiACAAVABoAGUAIABjAG8AdwAgAGkAcwAgAGkAbABsAHUAcwB0AHIAYQB0AGUAZAAgAHUAcwBpAG4AZwAgAHAAcgBlAGYAbwByAG0AYQB0AHQAZQBkACAAdABlAHgAdAAgAGMAaABhAHIAYQBjAHQAZQByAHMALgAKACAAIAA8AC8AZgBpAGcAYwBhAHAAdABpAG8AbgA%2BAAoAPAAvAGYAaQBnAHUAcgBlAD4A
This snippet is from a prettier test.
Expected result
Should parse successfully. Solution should be pretty easy, we should treat
pre
the same as we treatscript
andstyle
currently.Code of Conduct
The text was updated successfully, but these errors were encountered: