Skip to content

Commit a67317f

Browse files
committed
more writergate
1 parent c284fcc commit a67317f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/template.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type) type {
395395
.text => |text| switch (text) {
396396
else => unreachable,
397397
.string => |s| {
398-
writer.print("{}", .{
398+
writer.print("{f}", .{
399399
HtmlSafe{ .bytes = s.value },
400400
}) catch return error.OutIO;
401401
},
@@ -613,7 +613,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type) type {
613613
.text => |text| switch (text) {
614614
else => unreachable,
615615
.string => |s| {
616-
writer.print("{}", .{
616+
writer.print("{f}", .{
617617
HtmlSafe{ .bytes = s.value },
618618
}) catch return error.OutIO;
619619
},
@@ -738,7 +738,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type) type {
738738
else => unreachable,
739739
.string => |s| {
740740
writer.print(
741-
"=\"{s}\"",
741+
"=\"{f}\"",
742742
.{
743743
HtmlSafe{
744744
.bytes = s.value,
@@ -858,7 +858,7 @@ pub fn SuperTemplate(comptime ScriptyVM: type) type {
858858
.text => |text| switch (text) {
859859
else => unreachable,
860860
.string => |s| {
861-
writer.print("{}", .{
861+
writer.print("{f}", .{
862862
HtmlSafe{ .bytes = s.value },
863863
}) catch return error.OutIO;
864864
},

0 commit comments

Comments
 (0)