mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 00:08:59 +00:00
fix comment formatting
This commit is contained in:
@@ -75,7 +75,7 @@ pub fn setData(self: *CData, value: ?[]const u8, page: *Page) !void {
|
||||
pub fn format(self: *const CData, writer: *std.io.Writer) !void {
|
||||
return switch (self._type) {
|
||||
.text => writer.print("<text>{s}</text>", .{self._data}),
|
||||
.comment => writer.print("<comment>{s}</comment>", .{self._data}),
|
||||
.comment => writer.print("<!-- {s} -->", .{self._data}),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user