How to parse HTML in nodejs while preserving malformities

前端 未结 0 1279
野趣味
野趣味 2021-01-06 01:25

Tools like JSDOM, Cheerio, HtmlParser2, Puppeteer etc. all correctly mimic the browsers and correct malformed html. e.g. a div inside head ends up

相关标签:
回答
  • 消灭零回复
提交回复
热议问题