taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.12k stars 112 forks source link

Update html.ts #228

Closed jogibear9988 closed 2 years ago

jogibear9988 commented 2 years ago

allow $ and . and ? in attribute name, used by LIT and other frameworks.

maybe we should allow most characters as stated in here: https://stackoverflow.com/a/926136

taoqf commented 2 years ago

@jogibear9988 Thank you.