Fork me on GitHub
#garden
<
2024-05-16
>
David Yang03:05:26

Is there a different way of generating this:

(garden/css 
   [:.parent 
    [(s/& (s/attr= :childcount "0"))
     {:background-color "red"}]])
to get:
".parent[childcount=\"0\"] {\n  background-color: red;\n}"
I can’t use strings for some reason because they get HTML entity encoded.