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
Previous to the cheerio upgrade the my code going into the inlineCss did not have html nor body tags, and the return did not either. After the update cheerio seems to automatically wrap the html with those tags.
The text was updated successfully, but these errors were encountered:
It seems cheerio.load needs a third argument (https://github.com/cheeriojs/cheerio#loading) to prevent the automatic adding of HTML elements, but there is no way to provide this option in the library
edokan
added a commit
to edokan/inline-css
that referenced
this issue
Nov 18, 2022
Previous to the cheerio upgrade the my code going into the inlineCss did not have html nor body tags, and the return did not either. After the update cheerio seems to automatically wrap the html with those tags.
The text was updated successfully, but these errors were encountered: