diff --git a/src/parser.zig b/src/parser.zig index 75dd3de..c87158e 100644 --- a/src/parser.zig +++ b/src/parser.zig @@ -1696,6 +1696,19 @@ pub const Parser = struct { current_body = &false_body; continue; } + + var tag: Node = tag_node; + if (tag_node.tag.?.kind == .comment) { + try self.parseComment(); + continue; + } else { + if (try self.parseTagContent(allocator, tag_node)) |tn| { + tag.tag.?.body = tn; + try current_body.append(allocator, tag); + continue; + } + } + // Qualquer outra tag try current_body.append(allocator, tag_node); } else {