From 96d63c1744f71cf595329d60233fb11ebf9bd01d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 21 Nov 2023 16:13:30 +0300 Subject: [PATCH] Fix Bug 65187 --- apps/common/main/lib/view/AutoCorrectDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,