You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue when parsing markdown: content gets translated to HTML,
but Cheerio then fails to parse it:
...
text="<textractwrapper>"+text+"<textractwrapper>";try{$=cheerio.load(text);$('script').remove();// <<< this line crashes with message: TypeError: Cannot read property 'children' of undefined
...
Hi,
There is an issue when parsing markdown: content gets translated to HTML,
but Cheerio then fails to parse it:
This is caused by a regression in cheerio 0.19.0:
cheeriojs/cheerio#804
I would advise to upgrade to cheerio 0.20.0, which works fine
The text was updated successfully, but these errors were encountered: