Skip to content
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

Namespaced keywords can cause multiple attributes on an element #145

Open
SVMBrown opened this issue May 4, 2017 · 0 comments
Open

Namespaced keywords can cause multiple attributes on an element #145

SVMBrown opened this issue May 4, 2017 · 0 comments

Comments

@SVMBrown
Copy link

SVMBrown commented May 4, 2017

I was investigating handling of namespaced keywords in hiccup and reagent and stumbled across the following behaviour:

(html [:div {::id "abc" :id "123" :my.ns/id "xyz"}])
;;=> "<div id=\"123\" id=\"abc\" id=\"xyz\"></div>"

Not entirely sure what behaviour should be, but for my use case I was hoping that all namespaced keywords would not be included in the final rendering. Figured I would mention this edge case in case it is relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant