aboutsummaryrefslogtreecommitdiff
path: root/src/intertyper.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-11 21:38:32 -0400
committerAlon Zakai <alonzakai@gmail.com>2013-10-12 02:13:54 -0400
commit35d2724c418af9350689bc81faa6fb9d21cb0937 (patch)
tree7886aa6a10a13192e7a8a891ae7881283dd00796 /src/intertyper.js
parent02199633fa1453664a72c6bd8369f3f287d1b846 (diff)
remove unnecessary %"" merge code in makeToken
Diffstat (limited to 'src/intertyper.js')
-rw-r--r--src/intertyper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index ac9a365f..b8aa5d83 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -30,7 +30,7 @@ function tokenizer(item, inner) {
function makeToken(text) {
if (text.length == 0) return;
// merge certain tokens
- if (lastToken && ( (lastToken.text == '%' && text[0] == '"') || /^\**$/.test(text) ) ) {
+ if (lastToken && /^\**$/.test(text)) {
lastToken.text += text;
return;
}