Commit c6cd2253 authored by GoshaZotov's avatar GoshaZotov

fix bug 34244

parent 0ea458cc
...@@ -2472,7 +2472,7 @@ ...@@ -2472,7 +2472,7 @@
} }
else else
{ {
sCurChar += t._copyPasteCorrectString(Char); sCurChar += Char;
} }
if(i == length - 1) if(i == length - 1)
...@@ -2486,18 +2486,7 @@ ...@@ -2486,18 +2486,7 @@
aResult.props.rowSpanSpCount = 0; aResult.props.rowSpanSpCount = 0;
return aResult; return aResult;
}, }
_copyPasteCorrectString: function (str)
{
var res = str;
res = res.replace(/&/g,'&');
res = res.replace(/</g,'&lt;');
res = res.replace(/>/g,'&gt;');
res = res.replace(/'/g,'&apos;');
res = res.replace(/"/g,'&quot;');
return res;
},
}; };
/** @constructor */ /** @constructor */
......
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