Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
style(#230): expand explainer on str parsing
Grant Lemons550cf20226e2
diff --git a/harper-core/src/parsers/typst.rs b/harper-core/src/parsers/typst.rsindex 36d4d9a14..c49bd73e5 100644--- a/harper-core/src/parsers/typst.rs+++ b/harper-core/src/parsers/typst.rs@@ -211,7 +211,8 @@ fn map_token(}Expr::Numeric(a) => constant_token!(doc, a, TokenKind::Unlintable),Expr::Str(text) => {- // Using `text.get()` doesn't work here, because it escapes quotes+ // Using `text.get()` doesn't work here, because it escapes quotes which throws off+ // the spanparse_english(doc.get(doc.range(text.span())?)?, doc, parser, &text.span())}Expr::Code(a) => constant_token!(doc, a, TokenKind::Unlintable),