FIX: Allow emoji at the beginning of a line without a paragraph break.
This commit is contained in:
parent
d0095ce041
commit
54ea14323a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue