diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 09654e246..d5bc5645e 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -109,7 +109,7 @@ Zotero.Fulltext = new function(){ this.decoder = Components.classes["@mozilla.org/intl/utf8converterservice;1"]. getService(Components.interfaces.nsIUTF8ConverterService); - var platform = Zotero.platform.replace(' ', '-'); + var platform = Zotero.platform.replace(/ /g, '-'); _pdfConverterFileName = this.pdfConverterName + '-' + platform; _pdfInfoFileName = this.pdfInfoName + '-' + platform; if (Zotero.isWin) {