Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Update htmlparser/lexer to support html5 attribute syntax #1380
With HTML5 almost any character is allowed in an attribute name and angular is actively using this. With angular attribute names like this are common:
This changeset updates the html.parser and html.lexer modules to support the syntax.
It is not the intention of this changeset to change the html validator. The validator for example will still (rightly) complain, that the angular attribute names are not serializeable as XML.