Merge pull request #2060 from ONLYOFFICE/fix/fix-bugs
[DE PE] Fix bug 59627
This commit is contained in:
commit
91ed3cea44
|
@ -124,7 +124,7 @@ define([
|
|||
for (var l = 0; l < text.length; l++) {
|
||||
var charCode = text.charCodeAt(l),
|
||||
char = text.charAt(l);
|
||||
if (AscCommon.g_aPunctuation[charCode] !== undefined || char.trim() === '') {
|
||||
if (AscCommon.IsPunctuation(charCode) !== undefined || 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.g_aPunctuation[charCode] !== undefined || char.trim() === '') {
|
||||
if (AscCommon.IsPunctuation(charCode) !== undefined || char.trim() === '') {
|
||||
isPunctuation = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue