[DE PE] Fix bug 59627

This commit is contained in:
JuliaSvinareva 2022-11-16 17:09:59 +03:00
parent cd691158bb
commit 8e2793a462
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ define([
for (var l = 0; l < text.length; l++) { for (var l = 0; l < text.length; l++) {
var charCode = text.charCodeAt(l), var charCode = text.charCodeAt(l),
char = text.charAt(l); char = text.charAt(l);
if (AscCommon.g_aPunctuation[charCode] !== undefined || char.trim() === '') { if (AscCommon.IsPunctuation(charCode) !== undefined || char.trim() === '') {
isPunctuation = true; isPunctuation = true;
break; break;
} }

View file

@ -138,7 +138,7 @@ define([
for (var l = 0; l < text.length; l++) { for (var l = 0; l < text.length; l++) {
var charCode = text.charCodeAt(l), var charCode = text.charCodeAt(l),
char = text.charAt(l); char = text.charAt(l);
if (AscCommon.g_aPunctuation[charCode] !== undefined || char.trim() === '') { if (AscCommon.IsPunctuation(charCode) !== undefined || char.trim() === '') {
isPunctuation = true; isPunctuation = true;
break; break;
} }