From 2c161e6373b00353fd64b1d0a276cd352d20c895 Mon Sep 17 00:00:00 2001 From: Giulio Cesare Solaroli Date: Thu, 1 Oct 2015 16:38:40 +0200 Subject: [PATCH] Fixed HTML entity encoding issue while importing data --- frontend/delta/js/Clipperz/PM/UI/ImportContext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/delta/js/Clipperz/PM/UI/ImportContext.js b/frontend/delta/js/Clipperz/PM/UI/ImportContext.js index 4ba4c38..ae09420 100644 --- a/frontend/delta/js/Clipperz/PM/UI/ImportContext.js +++ b/frontend/delta/js/Clipperz/PM/UI/ImportContext.js @@ -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, '&'); } }