html2json
html2json copied to clipboard
Allow comments under root
Allow comments under the root element to be parsed.
This allows parsing content like this:
html2json('<!-- comment -->')