Skip to content

Commit

Permalink
Trim whitespace, resolves endSly#6
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Schmid committed Sep 21, 2017
1 parent bb0b2fe commit 483c16e
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 106 deletions.
2 changes: 1 addition & 1 deletion importer/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function readPage(body, write, cb) {
const allItems = document.querySelectorAll('ol li a');

for (count = 0; count < allItems.length; count++) {
write(allItems[count].textContent, allItems[count].href);
write(allItems[count].textContent.trim(), allItems[count].href.trim());
}

cb();
Expand Down
Loading

0 comments on commit 483c16e

Please sign in to comment.