It looks from #80 (and some repl tinkering) like keywords generally get cast correctly. However, I've found that for style attributes, the conversion does not work. For example,
Note that Reagent does handle this properly. I think it would be nice to maintain parity, as it can lead to gotchas when you're rendering the code in both contents (as I do with Oz). It also seems to me that this behavior would make hiccup more consistent with itself, as anywhere else I tested (including as top-level attr maps values), it processed correctly.
It looks from #80 (and some repl tinkering) like keywords generally get cast correctly. However, I've found that for style attributes, the conversion does not work. For example,
Note that Reagent does handle this properly. I think it would be nice to maintain parity, as it can lead to gotchas when you're rendering the code in both contents (as I do with Oz). It also seems to me that this behavior would make hiccup more consistent with itself, as anywhere else I tested (including as top-level attr maps values), it processed correctly.
Thanks for your work!