diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index c442927b2..b298f9547 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -321,6 +321,8 @@ Zotero.Cite.MIMEHandler.StreamListener.prototype.onStopRequest = function(channe * want to use the Scholar data model, but does want to use CSL in JavaScript */ Zotero.CSL = function(csl) { + // "with ({});" needed to fix default namespace scope issue + // See https://bugzilla.mozilla.org/show_bug.cgi?id=330572 default xml namespace = "http://purl.org/net/xbiblio/csl"; with ({}); if(typeof csl != "XML") {