System/Libraries/Html/Tokenizer: Support empty attributes

This commit is contained in:
Alec Murphy 2025-04-16 18:04:54 -04:00
parent ebfaa0254c
commit 5ea8809a34

View file

@ -1021,6 +1021,7 @@ U0 @tokenizer_html_state_after_attribute_name(@html_tokenizer* t)
*/
case '/':
// Switch to the self-closing start tag state.
@set_current_attribute_on_current_node(t);
t->state = HTML_STATE_SELF_CLOSING_START_TAG;
break;
case '=':