System/Libraries/Html/Tokenizer: Fix issue with unquoted HTML attributes being discarded

This commit is contained in:
Alec Murphy 2025-04-30 21:27:39 -04:00
parent 938bb8cf80
commit f71505a004

View file

@ -926,6 +926,7 @@ U0 @tokenizer_html_state_attribute_value_unquoted(@html_tokenizer* t)
*/
case '>':
// Switch to the data state. Emit the current tag token.
@set_current_attribute_on_current_node(t);
@emit_current_node(t);
t->state = HTML_STATE_DATA;
break;