mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 07:31:55 +08:00
[DE PE] Fix bug 59023
This commit is contained in:
@ -124,7 +124,7 @@ define([
|
||||
for (var l = 0; l < text.length; l++) {
|
||||
var charCode = text.charCodeAt(l),
|
||||
char = text.charAt(l);
|
||||
if (AscCommon.IsPunctuation(charCode) !== undefined || char.trim() === '') {
|
||||
if (AscCommon.IsPunctuation(charCode) || char.trim() === '') {
|
||||
isPunctuation = true;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -138,7 +138,7 @@ define([
|
||||
for (var l = 0; l < text.length; l++) {
|
||||
var charCode = text.charCodeAt(l),
|
||||
char = text.charAt(l);
|
||||
if (AscCommon.IsPunctuation(charCode) !== undefined || char.trim() === '') {
|
||||
if (AscCommon.IsPunctuation(charCode) || char.trim() === '') {
|
||||
isPunctuation = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user