diff --git a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js index f311954bb..c72f8d68e 100644 --- a/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js +++ b/apps/spreadsheeteditor/main/app/view/AutoFilterDialog.js @@ -747,7 +747,7 @@ define([ '', '<% } %>', '', - '
<%= value %>
', + '
<%= Common.Utils.String.htmlEncode(value) %>
', '' ].join('')) }); @@ -1133,7 +1133,7 @@ define([ }); else if (!isTextFilter && (cond1 == Asc.c_oAscCustomAutoFilter.isGreaterThanOrEqualTo && cond2 == Asc.c_oAscCustomAutoFilter.isLessThanOrEqualTo || cond1 == Asc.c_oAscCustomAutoFilter.isLessThanOrEqualTo && cond2 == Asc.c_oAscCustomAutoFilter.isGreaterThanOrEqualTo)){ - items[7].setChecked(true, true); // between filter + items[6].setChecked(true, true); // between filter isCustomConditions = false; } if (isCustomConditions)