bcoe/wikifetch

Wrong concatenation of paragraphs

Opened this issue · 1 comments

Because of this line in wikifetch.js:91

parsedArticle.sections[currentHeadline].text += element.text();

consecutive paragraphs get glued together, i.e., a blank space is missing between the last token of the last sentence of a paragraph and the first token of the first sentence of the following paragraph.

Please review #4 for possible fix