Commit 89e6d51d authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] Fix Bug 33117.

parent d0216389
...@@ -201,7 +201,7 @@ define([ ...@@ -201,7 +201,7 @@ define([
if (typeof value == 'object') { if (typeof value == 'object') {
_.each(value, function(obj) { _.each(value, function(obj) {
if (typeof obj === 'string') if (typeof obj === 'string')
changetext += (' ' + obj); changetext += (' ' + Common.Utils.String.htmlEncode(obj));
else { else {
switch (obj) { switch (obj) {
case 0: case 0:
...@@ -220,7 +220,7 @@ define([ ...@@ -220,7 +220,7 @@ define([
} }
}) })
} else if (typeof value === 'string') { } else if (typeof value === 'string') {
changetext += (' ' + value); changetext += (' ' + Common.Utils.String.htmlEncode(value));
} }
break; break;
case Asc.c_oAscRevisionsChangeType.TextRem: case Asc.c_oAscRevisionsChangeType.TextRem:
...@@ -228,7 +228,7 @@ define([ ...@@ -228,7 +228,7 @@ define([
if (typeof value == 'object') { if (typeof value == 'object') {
_.each(value, function(obj) { _.each(value, function(obj) {
if (typeof obj === 'string') if (typeof obj === 'string')
changetext += (' ' + obj); changetext += (' ' + Common.Utils.String.htmlEncode(obj));
else { else {
switch (obj) { switch (obj) {
case 0: case 0:
...@@ -247,7 +247,7 @@ define([ ...@@ -247,7 +247,7 @@ define([
} }
}) })
} else if (typeof value === 'string') { } else if (typeof value === 'string') {
changetext += (' ' + value); changetext += (' ' + Common.Utils.String.htmlEncode(value));
} }
break; break;
case Asc.c_oAscRevisionsChangeType.ParaAdd: case Asc.c_oAscRevisionsChangeType.ParaAdd:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment