From 43670e3d4cc7107b94b1e4ef485386256706cdae Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 12 Dec 2010 13:24:47 +0000 Subject: [PATCH] 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 2676627507..0eb51ac1c6 100644 --- a/chrome/content/zotero/xpcom/rdf/serialize.js +++ b/chrome/content/zotero/xpcom/rdf/serialize.js @@ -566,7 +566,7 @@ __Serializer.prototype.statementsToXML = function(sts) { function escapeForXML(str) { if (typeof str == 'undefined') return '@@@undefined@@@@'; - return str.replace(/&/g, '&').replace(/