fix build

This commit is contained in:
Karl Seguin
2025-11-20 21:32:50 +08:00
parent 7b513bd29d
commit ce351afb9a

View File

@@ -172,7 +172,7 @@ pub fn svgElement(self: *Factory, tag_name: []const u8, child: anytype) !*@TypeO
}
// will never allocate, can't fail
const tag_name_str = String.init(self.page.arena, tag_name, .{}) catch unreachable;
const tag_name_str = String.init(self._page.arena, tag_name, .{}) catch unreachable;
if (comptime fieldIsPointer(Element.Svg.Type, @TypeOf(child))) {
const child_ptr = try self.createT(@TypeOf(child));