Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
style(#104): swap order of conditions to be more consistent
Grant Lemonsdc617a5c73c6
diff --git a/harper-core/src/parsers/markdown.rs b/harper-core/src/parsers/markdown.rsindex 626a26f54..6c51033e5 100644--- a/harper-core/src/parsers/markdown.rs+++ b/harper-core/src/parsers/markdown.rs@@ -224,7 +224,7 @@ impl Parser for Markdown {});continue;}- if self.0.ignore_link_title && matches!(tag, Tag::Link { .. }) {+ if matches!(tag, Tag::Link { .. }) && self.0.ignore_link_title {tokens.push(Token {span: Span::new_with_len(traversed_chars, text.chars().count()),kind: TokenKind::Unlintable,