node-htmlparser
node-htmlparser copied to clipboard
Forgiving HTML/XML/RSS Parser in JS for *both* Node and Browsers
It seems like there are a number of high value pull requests and this lib hasn't been touched in a year.
As a suggestion to the DomUtils "submodule", it'd be neat if it included a way to re-serialize a DOM node back to HTML. Basically, I'm using this library as a...
How to detect a form which is created in javascript? I am unable o detect it. For eg: var frm = document.createElement("form")
If a text on the HTML has a "<", the text is not parsed after that. Example: <title>We <3cupcakes</title> The "<3cupcakes" is interpreted like being a tag when common browsers...
Added the `sys` dependency as the example code didn't work out of the box for Node v5.0.0.
specifying the type and URL is deprecated: https://docs.npmjs.com/files/package.json#license http://npm1k.org/
If the parsed document has a <script> tag which is not closed, the parser acts like the document had nothing. Example: ``` var htmlparser = require('htmlparser'), parser, pHandler, data =...
var sys = require('util')
In attempting to use this lib as a dependency, I was unable to use it in the browser as anything other than a global. This patch wraps htmlparser with a...
in the older version of html parser, it was output as a directive, however in the current trunk, it doesn't do anything. example: