disable xmlMode by default - breaking change in last release
FDIM opened this issue · 1 comments
FDIM commented
Also figure out how to avoid <html>....</html>
for partial templates.
FDIM commented
As seen in comments in cheerio repo, they have switched html parser to something new which have changed return value of cheerio.load(). Previously it was either a document or a fragment, now it will always be a document.
To maintain backwards compatibility, { _useHtmlParser2: true } is passed to cheerio by default when loading the template.