authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-04 14:01:51 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-05-04 14:01:51 -07:00
loge2a928c0a5677ca3fa1a1a9121c71ec56267e422
tree7a3bfcf253cfa998333a40de33d028dbf0ebe6f6
parentdb72cc51c1b21203f4c2b0e690a7d2cab91c2f1f

trim NL from left too of replacements


1 files changed, 1 insertions(+), 1 deletions(-)

src/lib.zig+1-1
......@@ -83,7 +83,7 @@ inline fn do(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, comp
8383 try writer.writeAll(x);
8484 return;
8585 }
86 const s = std.mem.trimRight(u8, x, "\n");
86 const s = std.mem.trim(u8, x, "\n");
8787 try writeEscaped(s, writer);
8888 return;
8989 }