diff --git a/parser.zig b/parser.zig index f4ea780..42a4ac7 100644 --- a/parser.zig +++ b/parser.zig @@ -155,7 +155,7 @@ fn checkIfBlockStarts(allocator: std.mem.Allocator, line: *[]const u8) !?Block { } else if (std.mem.startsWith(u8, line.*, "#")) { const level = getHeadingLevel(line.*); if (line.*[level..].len != 0) { - if (line.*[level] != ' ' or line.*[level] != '\t') return null; + if (line.*[level] != ' ' and line.*[level] != '\t') return null; line.* = line.*[level + 1 ..]; } return Block{ .heading = .{ diff --git a/readme.md b/readme.md index cf97108..9368c91 100644 --- a/readme.md +++ b/readme.md @@ -19,7 +19,7 @@ Ver [cli.zig](cli.zig) ## CommonMark -Actualmente: `114 passed, 538 failed, 0 errored, 0 skipped` +Actualmente: `122 passed, 530 failed, 0 errored, 0 skipped` Para correr los tests: