Skip to content
Snippets Groups Projects
Commit 668fe4d3 authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[textile mode] Don't trigger deletion on double dash

Issue #2967
parent 3b9bb893
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@
if (ch === "=" && stream.eat("="))
return togglePhraseModifier(stream, state, "notextile", /==/, 2);
if (ch === "-")
if (ch === "-" && !stream.eat("-"))
return togglePhraseModifier(stream, state, "deletion", /-/, 1);
if (ch === "+")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment