Pure-JavaScript-HTML5-Parser
Pure-JavaScript-HTML5-Parser copied to clipboard
A Pure JavaScript HTML5 Parser
svg animate attributename no attributeName repeatcount no repeatCount
Hello, The [GitHub Security Lab team](https://securitylab.github.com/) has found a potential vulnerability in your project. Please create a [Security Advisory](https://docs.github.com/en/free-pro-team@latest/github/managing-security-vulnerabilities/creating-a-security-advisory) and invite me in to further disclose and discuss the vulnerability...
In the following lines of `htmlparser.js`, \-tag seems to be classified as a block element. https://github.com/blowsie/Pure-JavaScript-HTML5-Parser/blob/3e8b2b1153a40495f9a16506c778d00150c6b7a3/htmlparser.js#L92-L96 But the [w3c spec](https://dev.w3.org/html5/spec-LC/) and this [summary](https://www.w3schools.com/htmL/html_blocks.asp) suggest it should be an inline element...
@blowsie Uncaught Parse Error when html string is `
Tried running the JAVA DEMO File didnt work successfully.The script is faulty.