Fix a bug in DOMSerializer.serializeToString implementation

This commit is contained in:
Simon Kornblith 2012-03-06 00:02:34 -05:00
parent 08cf3d9841
commit 32df573610

View File

@ -409,7 +409,7 @@ Zotero.Translate.SandboxManager = function(sandboxLocation) {
var s = Components.classes["@mozilla.org/xmlextras/xmlserializer;1"]
.createInstance(Components.interfaces.nsIDOMSerializer);
this.serializeToString = function(doc) {
return s.serializeToString(Zotero.Translate.DOMWrapper.unwrapIfWrapped(doc));
return s.serializeToString(Zotero.Translate.DOMWrapper.unwrap(doc));
};
};
}