diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-02-10 13:17:29 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-02-10 13:19:03 +0100 |
| commit | 5965515a1ef1fe398235311185d531efc2750247 (patch) | |
| tree | 0c375efc16993670951642dd54aa7fc9ac329daf /src/parse | |
| parent | 624471db619240f0eed849b92dff6a525ce7e547 (diff) | |
Allow escaping of `-` and `.`
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/tokens.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/tokens.rs b/src/parse/tokens.rs index 0c125b4b..ca2cb74a 100644 --- a/src/parse/tokens.rs +++ b/src/parse/tokens.rs @@ -248,7 +248,7 @@ impl<'s> Tokens<'s> { // Parenthesis and hashtag. '[' | ']' | '{' | '}' | '#' | // Markup. - '*' | '_' | '=' | '~' | '`' | '$' => { + '~' | '*' | '_' | '`' | '$' | '=' | '-' | '.' => { self.s.eat_assert(c); NodeKind::Escape(c) } |
