summaryrefslogtreecommitdiff
path: root/src/parse
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-02-10 13:17:29 +0100
committerLaurenz <laurmaedje@gmail.com>2022-02-10 13:19:03 +0100
commit5965515a1ef1fe398235311185d531efc2750247 (patch)
tree0c375efc16993670951642dd54aa7fc9ac329daf /src/parse
parent624471db619240f0eed849b92dff6a525ce7e547 (diff)
Allow escaping of `-` and `.`
Diffstat (limited to 'src/parse')
-rw-r--r--src/parse/tokens.rs2
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)
}