Skip to content

Commit c8f0801

Browse files
committed
html: add missing skip for unknown elements
1 parent 6bf719f commit c8f0801

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/html/Element.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ pub inline fn validateContent(
362362
else => {},
363363
.doctype => continue,
364364
.comment => continue,
365+
.___ => continue,
365366
.text => {
366367
if (!parent.model.content.flow and
367368
!parent.model.content.phrasing and

0 commit comments

Comments
 (0)