Parses a string into an array of DOM nodes. The context argument has no meaning for Cheerio, but it is maintained for API compatibility with jQuery.
context
The parsed DOM.
Cheerio.parseHTML
https://api.jquery.com/jQuery.parseHTML/
Markup that will be parsed.
Optional
Will be ignored. If it is a boolean it will be used as the value of keepScripts.
keepScripts
If false all scripts will be removed.
Parses a string into an array of DOM nodes. The
context
argument has no meaning for Cheerio, but it is maintained for API compatibility with jQuery.Returns
The parsed DOM.
Alias
Cheerio.parseHTML
See
https://api.jquery.com/jQuery.parseHTML/