| author | |
| committer | |
| log | a13451232ed898228f9fed468cc815a5c6ebf18c |
| tree | 9e58d4c9d458e9b8f47f5defa779803920b5324c |
| parent | 9a7e3ba149203ceda74a41b61172a9e6bce449d0 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/lib.zig+1-1| ... | @@ -42,7 +42,7 @@ fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype | ... | @@ -42,7 +42,7 @@ fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype |
| 42 | switch (value) { | 42 | switch (value) { |
| 43 | .element => |v| { | 43 | .element => |v| { |
| 44 | const hastext = for (v.children) |x| { | 44 | const hastext = for (v.children) |x| { |
| 45 | if (x == .string) break true; | 45 | if (x == .string or x == .replacement) break true; |
| 46 | } else false; | 46 | } else false; |
| 47 | 47 | ||
| 48 | if (flag1) for (range(indent)) |_| try writer.writeAll(" "); | 48 | if (flag1) for (range(indent)) |_| try writer.writeAll(" "); |