Merge pull request #3 from WillKoehrsen/master

Fixed tag referring to article
This commit is contained in:
David Tesler 2019-12-15 18:20:03 -08:00 committed by GitHub
commit cd3dd4f180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function convertFromUrl(url) {
return reject(err);
let $ = cheerio.load(body);
let html = $('.postArticle-content').html() || '';
let html = $('article').html() || '';
let markdown = toMarkdown(html, { gfm: true, converters: converters });
resolve(markdown);