Closed luontola closed 6 months ago
Before this change (html [:br (identity nil)]) used to produced "<br></br>". After this change it will produce "<br />".
(html [:br (identity nil)])
"<br></br>"
"<br />"
The use case where this can matter is if the user has a function which returns either a map of attributes or nil.
Thanks for the fix! And apologies for taking a little while to take a closer look.
Changes done.
@weavejester This too is ready
Before this change
(html [:br (identity nil)])
used to produced"<br></br>"
. After this change it will produce"<br />"
.The use case where this can matter is if the user has a function which returns either a map of attributes or nil.