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
Specifically, note that <head> and <div> were serialized as self-closing tags.
I'm not sure if this should be considered a bug or not, but it appears to be a breaking change and it isn't called out anywhere in the release notes or upgrade guide: https://cheerio.js.org/blog/cheerio-1.0
The text was updated successfully, but these errors were encountered:
Reproduction: https://github.com/nwalters512/cheerio-self-closing-repro
Code for reference:
Steps to reproduce:
yarn
.node index.js
.Observe the following output is printed:
Specifically, note that
<head>
and<div>
were serialized as self-closing tags.I'm not sure if this should be considered a bug or not, but it appears to be a breaking change and it isn't called out anywhere in the release notes or upgrade guide: https://cheerio.js.org/blog/cheerio-1.0
The text was updated successfully, but these errors were encountered: