Lightpanda: the headless browser designed for AI and automation
sync attribute escape list
Karl Seguin9f4d6c3b1431
diff --git a/src/browser/webapi/element/Attribute.zig b/src/browser/webapi/element/Attribute.zigindex 764c36c4e..74674b96a 100644--- a/src/browser/webapi/element/Attribute.zig+++ b/src/browser/webapi/element/Attribute.zig@@ -747,7 +747,7 @@ fn formatAttribute(name: []const u8, value: []const u8, writer: *std.Io.Writer)}try writer.writeByte('"');- const offset = std.mem.findAny(u8, value, "`' &\"<>=\xc2") orelse {+ const offset = std.mem.findAny(u8, value, "&\"<>\xc2") orelse {try writer.writeAll(value);return writer.writeByte('"');};