diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 585d52ca79..041f5a65ca 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -231,10 +231,9 @@ output = output.replace(entry[0], entry[1], "g"); } - output = Zotero.Utilities.unescapeHTML( - output.replace(" ", " ", "g")) - .replace(highcharRe, - function(aChar) { return "\\uc0\\u"+aChar.charCodeAt(0).toString()+"{}" }); + output = Zotero.Utilities.unescapeHTML(output.replace(" ", " ", "g")) + .replace("\u00A0", " ", "g") + .replace(highcharRe, function(aChar) { return "\\uc0\\u"+aChar.charCodeAt(0).toString()+"{}" }); output = Zotero.Utilities.trim(output); } diff --git a/chrome/content/zotero/locale/csl b/chrome/content/zotero/locale/csl index 2288e745e7..36d26a584a 160000 --- a/chrome/content/zotero/locale/csl +++ b/chrome/content/zotero/locale/csl @@ -1 +1 @@ -Subproject commit 2288e745e7c13cac7a78bb294d09cf19ad2cf23e +Subproject commit 36d26a584ac869f2dfbdd528f57141a3bbcf016f diff --git a/chrome/content/zotero/xpcom/connector/translator.js b/chrome/content/zotero/xpcom/connector/translator.js index f75bf3ed04..5eb8fa5a7d 100644 --- a/chrome/content/zotero/xpcom/connector/translator.js +++ b/chrome/content/zotero/xpcom/connector/translator.js @@ -160,7 +160,7 @@ Zotero.Translators = new function() { if(m) { // First, drop the 0- if it exists (this is an III invention) var host = m[2]; - if(host.substr(0, 2) === "0-") host = substr(2); + if(host.substr(0, 2) === "0-") host = host.substr(2); var hostnames = host.split("."); for(var i=1; i