System/Libraries/Html/Tokenizer: Support empty attributes
This commit is contained in:
parent
ebfaa0254c
commit
5ea8809a34
1 changed files with 1 additions and 0 deletions
|
@ -1021,6 +1021,7 @@ U0 @tokenizer_html_state_after_attribute_name(@html_tokenizer* t)
|
||||||
*/
|
*/
|
||||||
case '/':
|
case '/':
|
||||||
// Switch to the self-closing start tag state.
|
// Switch to the self-closing start tag state.
|
||||||
|
@set_current_attribute_on_current_node(t);
|
||||||
t->state = HTML_STATE_SELF_CLOSING_START_TAG;
|
t->state = HTML_STATE_SELF_CLOSING_START_TAG;
|
||||||
break;
|
break;
|
||||||
case '=':
|
case '=':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue