From 103efd52b59f77fbfde6a1b7daf65b16c2c26810 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 30 Apr 2026 17:25:04 +0200 Subject: refactor(html): supports more type in root append --- src/eval/Root.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eval/Root.zig') diff --git a/src/eval/Root.zig b/src/eval/Root.zig index d4ccf30..1f2b61b 100644 --- a/src/eval/Root.zig +++ b/src/eval/Root.zig @@ -57,6 +57,6 @@ fn html(context: *anyopaque, alloc: Allocator) HTML.Error!HTML { const self: *Self = @ptrCast(@alignCast(context)); const el = try HTML.Root.init(alloc); var v = self.content.first; - while (v) |it| : (v = it.next) el.append(try Node.from(it).element().html(el.allocator())); + while (v) |it| : (v = it.next) try el.append(Node.from(it).element()); return el.element(); } -- cgit v1.2.3