New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How are attributes with dash (-) treated? #105
Comments
I think this could be easier if done using the same way javascript allow type to be accessed using a camel-case on the identifier that has a dash. example: |
This is similar to #106 (comment) where the parser currently assumes that all attributes are composed of a single identifier. Note the single percy/crates/html-macro/src/tag.rs Line 143 in 344e757
The solution is peeking for a As with #106 (comment) we'd want a test for this. I can take a look next time I'm working on the parser. If you'd like to take a look in the meantime I'd be happy to provide more detailed instructions. Cheers and thanks for opening the issue!! |
Hi, any chance of raising the priority of this issue as its a showstopper for Accessibility aria-* and bootstrap data-* attributes. Thanks |
as well for |
In this example, how is
stroke-width=5
treated? The parser complains about this.The text was updated successfully, but these errors were encountered: