aboutsummaryrefslogtreecommitdiff
path: root/src/eval/list.zig
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-30 17:25:04 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-30 17:25:04 +0200
commit103efd52b59f77fbfde6a1b7daf65b16c2c26810 (patch)
tree722f7be1ea5ffc36fb5d17aab0fb64cb6cb28665 /src/eval/list.zig
parent987bd9323a384e8f042311262d9b0e0eba38da15 (diff)
refactor(html): supports more type in root append
Diffstat (limited to 'src/eval/list.zig')
-rw-r--r--src/eval/list.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/list.zig b/src/eval/list.zig
index 1a7949c..160bde2 100644
--- a/src/eval/list.zig
+++ b/src/eval/list.zig
@@ -45,7 +45,7 @@ fn List(comptime tag: []const u8) type {
for (self.content.items) |it| {
var li = try HTML.Content.init(root.allocator(), "li");
li.content = try it.html(root.allocator());
- root.append(li.element());
+ try root.append(li.element());
}
return el.element();
}