Skip to content

Lightpanda: the headless browser designed for AI and automation

fix typo

Karl Seguin3ca791be4d70
diff --git a/src/browser/webapi/Sanitizer.zig b/src/browser/webapi/Sanitizer.zig
index 8a7e5113d..bff530f86 100644
--- a/src/browser/webapi/Sanitizer.zig
+++ b/src/browser/webapi/Sanitizer.zig
@@ -1099,7 +1099,7 @@ pub fn parseHTML(html: []const u8, options: ?Options, safe: bool, frame: *Frame)
fn sanitize(self: *const Sanitizer, root: *Node, safe: bool, frame: *Frame) !void {
if (@TypeOf(self) != *const Sanitizer) {
- @compileError("self *must* remain const since it can reference a globally shared defaulf sanitizer that cannot be mutated");
+ @compileError("self *must* remain const since it can reference a globally shared default sanitizer that cannot be mutated");
}
const arena = frame.call_arena;