FIX: Allow emoji at the beginning of a line without a paragraph break.

This commit is contained in:
Robin Ward 2014-08-11 12:45:55 -04:00
parent d0095ce041
commit 54ea14323a
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
var lastToken = prev[prev.length-1];
if (lastToken && lastToken.charAt) {
var lastChar = lastToken.charAt(lastToken.length-1);
if (lastChar !== ' ') return false;
if (lastChar !== ' ' && lastChar !== "\n") return false;
}
}
return true;