diff --git a/src/verify_markup.rs b/src/verify_markup.rs index f83fcc6..74c4eb7 100644 --- a/src/verify_markup.rs +++ b/src/verify_markup.rs @@ -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; }