Skip to content

Commit

Permalink
fix line length check for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Sep 30, 2023
1 parent 363c92a commit 96d2101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verify_markup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl Database {
let mut iter = seg.buffer.iter().enumerate();
while let Some((i, &c)) = iter.next() {
match c {
b'\n' => {
b'\r' | b'\n' => {
eol_check(&mut diags, &seg, line_start, i);
line_start = i + 1;
}
Expand Down

0 comments on commit 96d2101

Please sign in to comment.