-
Notifications
You must be signed in to change notification settings - Fork 2
Fix rendering of boolean attributes #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
alysbrooks
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one small change.
CHANGELOG.md
Outdated
|
|
||
| ## Changed | ||
|
|
||
| # 0.0.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # 0.0.5 |
You don't need to manually add the version string, our release tooling does that automatically.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I thought I was doing it wrong. I think I've got it right this time (I had "## Fixed" twice after removing the version string so also removed that)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All you need to do is add a bullet with your changes, so it's correct now.
CHANGELOG.md
Outdated
|
|
||
| ## Fixed | ||
|
|
||
| - Correctly handle boolean attributes (false values are removed) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - Correctly handle boolean attributes (false values are removed) | |
| - Correctly handle boolean attributes (false values are removed rather than being set to "false") |
Tiny suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call - done.
When boolean attributes are false they should be removed as the presence of attribute=false is interpreted as the attribute being set.
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: cgrand/enlive#107