node-htmlparser icon indicating copy to clipboard operation
node-htmlparser copied to clipboard

Forgiving HTML/XML/RSS Parser in JS for *both* Node and Browsers

Results 53 node-htmlparser issues
Sort by recently updated
recently updated
newest added

The headings should be a number sign (#) with a space then the text, like `# Heading`, not `#Heading`

Hi I copied and pasted your example usage code for browsers and I get this error: TypeError: Tautologistics.NodeHtmlParser.DefaultHandler is not a constructor. https://jsfiddle.net/skibulk/Lhnmjjs8/

I would like to convert DOM to JSON, modify the JSON and convet it back to DOM String. Please suggest

I might be doing the readout wrong, but this is the second time I've picked this up. It seems that `` isn't identified as a void tag, so they become...

The following regular expression used in parsing the HTML documents is vulnerable to ReDoS: ```js /(^\s+|\s+$)/g ``` The slowdown is moderately low: for 50.000 characters around 2.5 seconds matching time....

Can you share an example of a working script using Streaming To Parser in Node? Using your README text generates an error. ``` fs.createReadStream('./path_to_file.html').pipe(parser); ``` I get this error in...