1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2024-11-14 18:19:02 +01:00

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, '&');
}
}