| ... | @@ -83,7 +83,7 @@ inline fn do(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, comp | ... | @@ -83,7 +83,7 @@ inline fn do(comptime Ctx: type, alloc: std.mem.Allocator, writer: anytype, comp |
| 83 | try writer.writeAll(x); | 83 | try writer.writeAll(x); |
| 84 | return; | 84 | return; |
| 85 | } | 85 | } |
| 86 | const s: string = x; | 86 | const s = std.mem.trimRight(u8, x, "\n"); |
| 87 | for (s) |c| { | 87 | for (s) |c| { |
| 88 | if (entityLookupBefore(&[_]u8{c})) |ent| { | 88 | if (entityLookupBefore(&[_]u8{c})) |ent| { |
| 89 | try writer.writeAll(ent.entity); | 89 | try writer.writeAll(ent.entity); |