diff --git a/chrome/content/zotero/xpcom/fulltext.js b/chrome/content/zotero/xpcom/fulltext.js index 38c1781b7..fe582f4c5 100644 --- a/chrome/content/zotero/xpcom/fulltext.js +++ b/chrome/content/zotero/xpcom/fulltext.js @@ -1562,23 +1562,4 @@ Zotero.Fulltext = new function(){ return Object.keys(words); } - - - /* - * Add spaces between elements, since HTMLToText doesn't - * - * NOTE: SLOW AND NOT USED! - */ - function _separateElements(node){ - var next = node; - do { - if (next.hasChildNodes()){ - _separateElements(next.firstChild); - } - - var space = node.ownerDocument.createTextNode(' '); - next.parentNode.insertBefore(space, next); - } - while (next = next.nextSibling); - } }