diff options
| author | Nathan Varner <17197562+nvarner@users.noreply.github.com> | 2024-01-02 04:08:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-02 09:08:07 +0000 |
| commit | 527d63ed25d668eeb24e21ff441429fbcc7ad6a5 (patch) | |
| tree | 5f6f34c5f92cf004a3413bf75c457509dab7988e /crates/typst-syntax/src/lexer.rs | |
| parent | a236e362db8be16d64da26eba73c46d8cc8bb04e (diff) | |
Don't stop parsing markup text for braces (#3112)
Diffstat (limited to 'crates/typst-syntax/src/lexer.rs')
| -rw-r--r-- | crates/typst-syntax/src/lexer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-syntax/src/lexer.rs b/crates/typst-syntax/src/lexer.rs index ecb800ba..4800c8de 100644 --- a/crates/typst-syntax/src/lexer.rs +++ b/crates/typst-syntax/src/lexer.rs @@ -311,8 +311,8 @@ impl Lexer<'_> { table! { | ' ' | '\t' | '\n' | '\x0b' | '\x0c' | '\r' | '\\' | '/' - | '[' | ']' | '{' | '}' | '~' | '-' | '.' | '\'' | '"' - | '*' | '_' | ':' | 'h' | '`' | '$' | '<' | '>' | '@' | '#' + | '[' | ']' | '~' | '-' | '.' | '\'' | '"' | '*' | '_' + | ':' | 'h' | '`' | '$' | '<' | '>' | '@' | '#' }; loop { |
