Fix html scraping

This commit is contained in:
daniel-j 2017-06-07 10:41:41 +02:00
parent 8c61e1b478
commit 45d422d9a1

View file

@ -642,7 +642,7 @@ class FimFic2Epub extends Emitter {
let chapterPos = html.indexOf('<div class="bbcode">')
let chapter = html.substring(chapterPos + 20)
let pos = chapter.indexOf('\t\t</div>\n')
let pos = chapter.indexOf('\t\t</div>\n\t</div>')
chapter = chapter.substring(0, pos).trim()