diff --git a/src/block.rs b/src/block.rs index 54c435d..1dd757d 100644 --- a/src/block.rs +++ b/src/block.rs @@ -605,7 +605,7 @@ impl IdentifiedBlock { '|' => { // FIXME: last byte may be pipe but end of prefixed unicode char ((lt >= 2 && line.as_bytes()[lt - 1] == b'|') - && ((lt >= 3) && line.as_bytes()[lt - 2] != b'\\')) + && !((lt >= 3) && line.as_bytes()[lt - 2] == b'\\')) .then(|| (Kind::Table { caption: false }, Span::empty_at(indent))) } '[' => chars.as_str().find("]:").map(|l| {