From 23fa1241ab7565bb1994aea1f1c5bd6afa1270d0 Mon Sep 17 00:00:00 2001 From: aurimasv Date: Fri, 27 Apr 2012 00:29:02 -0500 Subject: [PATCH] Simon: fix invalid XML on export due to quotation marks in URI --- chrome/content/zotero/xpcom/rdf/serialize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/rdf/serialize.js b/chrome/content/zotero/xpcom/rdf/serialize.js index ae5db64f8d..725ecdc647 100644 --- a/chrome/content/zotero/xpcom/rdf/serialize.js +++ b/chrome/content/zotero/xpcom/rdf/serialize.js @@ -660,7 +660,7 @@ __Serializer.prototype.statementsToXML = function(sts) { function escapeForXML(str) { if (typeof str == 'undefined') return '@@@undefined@@@@'; - return str.replace(/&/g, '&').replace(/