lambdaisland / hiccup

Enlive-backed Hiccup implementation (clj-only)
Mozilla Public License 2.0
28 stars 4 forks source link

Fix rendering of boolean attributes #2

Closed dmcgillen closed 1 year ago

dmcgillen commented 1 year ago

When boolean attributes are false they should be removed as the presence of attribute=false is interpreted as the attribute being set.

There is a PR against enlive that does exactly the same thing but it has never been merged: https://github.com/cgrand/enlive/pull/107