Skip to content

Fix #810: shorthand class erased when attrs map has no :class#812

Merged
borkdude merged 1 commit intomainfrom
issue-810-shorthand-class
Apr 27, 2026
Merged

Fix #810: shorthand class erased when attrs map has no :class#812
borkdude merged 1 commit intomainfrom
issue-810-shorthand-class

Conversation

@borkdude
Copy link
Copy Markdown
Member

merge-attrs only kept the tag-shorthand class when the user attrs already had a :class key, dropping it for [:div.foo {}] and similar.

merge-attrs only kept the tag-shorthand class when the user attrs
already had a :class key, dropping it for `[:div.foo {}]` and similar.
@borkdude borkdude merged commit 1db9869 into main Apr 27, 2026
6 checks passed
@borkdude borkdude deleted the issue-810-shorthand-class branch April 27, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant