From 2b7837efd434165fd26e5e5303c08ced761dbc38 Mon Sep 17 00:00:00 2001 From: Avram Lyon Date: Wed, 30 Mar 2011 19:28:22 +0000 Subject: [PATCH] Trans: Fix whitespace in IEEE Xplore abstracts --- translators/IEEE Xplore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translators/IEEE Xplore.js b/translators/IEEE Xplore.js index 1a65b57a62..7e741ce9de 100644 --- a/translators/IEEE Xplore.js +++ b/translators/IEEE Xplore.js @@ -193,7 +193,7 @@ function scrape(doc,url) // Abstracts don't seem to come with if (!newItem.abstractNote) { var abstractNode = doc.evaluate('//a[@name="Abstract"]/following-sibling::p[1]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext(); - if (abstractNode) newItem.abstractNote = abstractNode.textContent; + if (abstractNode) newItem.abstractNote = Zotero.Utilities.trimInternal(abstractNode.textContent); } newItem.complete(); }