Skip to content

Commit a928b66

Browse files
nielsdoslexborisov
andcommitted
Co-authored-by: Alexander Borisov <[email protected]>
1 parent 4531292 commit a928b66

File tree

1 file changed

+1
-1
lines changed
  • ext/dom/lexbor/lexbor/html

1 file changed

+1
-1
lines changed

ext/dom/lexbor/lexbor/html/tree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ lxb_html_tree_acknowledge_token_self_closing(lxb_html_tree_t *tree,
333333

334334
bool is_void = lxb_html_tag_is_void(token->tag_id);
335335

336-
if (is_void) {
336+
if (!is_void) {
337337
lxb_html_tree_parse_error(tree, token,
338338
LXB_HTML_RULES_ERROR_NOVOHTELSTTAWITRSO);
339339
}

0 commit comments

Comments
 (0)