We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c955b9 commit 6709cc7Copy full SHA for 6709cc7
2 files changed
src/html/document.zig
@@ -531,7 +531,6 @@ pub const ParseOptions = struct {
531
return self.writeHtml(writer);
532
}
533
534
-
535
fn ensureQueryOneArena(noalias self: *DocSelf) *std.heap.ArenaAllocator {
536
if (self.query_one_arena == null) {
537
self.query_one_arena = std.heap.ArenaAllocator.init(self.allocator);
src/root.zig
@@ -186,7 +186,7 @@ test "writeHtml parses and prints complex document" {
186
;
187
const src = try alloc.dupe(u8, src_const);
188
defer alloc.free(src);
189
- try doc.parse(src, .{.drop_whitespace_text_nodes = false});
+ try doc.parse(src, .{ .drop_whitespace_text_nodes = false });
190
191
const html = doc.html() orelse return error.TestUnexpectedResult;
192
0 commit comments