diff --git a/apps/common/main/lib/view/AutoCorrectDialog.js b/apps/common/main/lib/view/AutoCorrectDialog.js index 362f225a4e..a1870b4f31 100644 --- a/apps/common/main/lib/view/AutoCorrectDialog.js +++ b/apps/common/main/lib/view/AutoCorrectDialog.js @@ -137,8 +137,8 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template', template: _.template(['
'].join('')), itemTemplate: _.template([ '
', - '
<%= replaced %>
', - '
<%= by %>
', + '
<%= Common.Utils.String.htmlEncode(replaced) %>
', + '
<%= Common.Utils.String.htmlEncode(by) %>
', '
' ].join('')), scrollAlwaysVisible: true,