add info message for space between emoji and text
parent
c13aa70a39
commit
290de26f3a
|
@ -560,8 +560,8 @@
|
|||
// check if the regex finds a matching pattern
|
||||
let match;
|
||||
while ((match = regex.exec(text)) !== null) {
|
||||
if (match.index + match[0].length < text.length && text[match.index + match[0].length] !== ' ') {
|
||||
return true
|
||||
if (match[2] !== ' ' && match[2] !== '') {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue