mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Fix a bug in DOMSerializer.serializeToString implementation
This commit is contained in:
parent
08cf3d9841
commit
32df573610
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue