Closed kwrooijen closed 4 years ago
Currently when adding keywords to a class vector, the keywords get converted to string literally.
(html [:div {:class [:foo]}]) ;;=> <div class=":foo"></div>
After PR:
(html [:div {:class [:foo]}]) ;;=> <div class="foo"></div>
Not sure if this is desired, but this is also how it works in Reagent.
That seems a reasonable change. Can you add some tests?
@weavejester Done, how's this?
That's fine, thanks.
Currently when adding keywords to a class vector, the keywords get converted to string literally.
After PR:
Not sure if this is desired, but this is also how it works in Reagent.