mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
FIX: Allow emoji at the beginning of a line without a paragraph break.
This commit is contained in:
parent
d0095ce041
commit
54ea14323a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue