diff --git a/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js b/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js index b84aff8255..8e06ab2a42 100644 --- a/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js +++ b/apps/spreadsheeteditor/main/app/view/FormatSettingsDialog.js @@ -239,7 +239,7 @@ define([ el: $('#format-settings-list-code'), store: new Common.UI.DataViewStore(), tabindex: 1, - itemTemplate: _.template('
<%= value %>
') + itemTemplate: _.template('
<%= Common.Utils.String.htmlEncode(value) %>
') }); this.codesList.on('item:select', _.bind(this.onCodeSelect, this)); this.codesList.on('entervalue', _.bind(this.onPrimary, this));