diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 17:25:04 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 17:25:04 +0200 |
| commit | 103efd52b59f77fbfde6a1b7daf65b16c2c26810 (patch) | |
| tree | 722f7be1ea5ffc36fb5d17aab0fb64cb6cb28665 /src/eval/Root.zig | |
| parent | 987bd9323a384e8f042311262d9b0e0eba38da15 (diff) | |
refactor(html): supports more type in root append
Diffstat (limited to 'src/eval/Root.zig')
| -rw-r--r-- | src/eval/Root.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |
