inline-css icon indicating copy to clipboard operation
inline-css copied to clipboard

Cheerio 1.x wraps code with html tags

Open dariusj18 opened this issue 3 years ago • 1 comments

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.

dariusj18 avatar Aug 03 '22 21:08 dariusj18

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 avatar Nov 18 '22 07:11 edokan