Fixed HTML entity encoding issue while importing data

This commit is contained in:
Giulio Cesare Solaroli 2015-10-01 16:38:40 +02:00
parent e28119c728
commit 2c161e6373

View File

@ -297,7 +297,7 @@ MochiKit.Base.update(Clipperz.PM.UI.ImportContext.prototype, {
if (isExportContent.test(aValue)) {
textarea = MochiKit.DOM.TEXTAREA();
textarea.innerHTML = aValue.replace(isExportContent, '$1');
result = textarea.innerHTML;
result = textarea.innerHTML.replace(/&/g, '&');
}
}