Bug 70465: remove line breaks from filter tip

This commit is contained in:
Julia Radzhabova
2024-09-25 17:50:46 +03:00
parent eb35c3d5fb
commit 2de53c3b49

View File

@ -2328,7 +2328,11 @@ define([
}
if (str.length>100)
str = str.substring(0, 100) + '...';
str = "<b>" + (Common.Utils.String.htmlEncode(props.asc_getColumnName()) || '(' + this.txtColumn + ' ' + Common.Utils.String.htmlEncode(props.asc_getSheetColumnName()) + ')') + ":</b><br>" + str;
var colName = props.asc_getColumnName();
colName && (colName = colName.replace(/\n/g, ' '));
if (colName.length>100)
colName = colName.substring(0, 100) + '...';
str = "<b>" + (Common.Utils.String.htmlEncode(colName) || '(' + this.txtColumn + ' ' + Common.Utils.String.htmlEncode(props.asc_getSheetColumnName()) + ')') + ":</b><br>" + str;
return str;
},