Skip to content

fix attributes normalization - #122

Merged
Bloomca merged 1 commit into
mainfrom
fix-attributes-normalization
Jul 17, 2026
Merged

fix attributes normalization#122
Bloomca merged 1 commit into
mainfrom
fix-attributes-normalization

Conversation

@Bloomca

@Bloomca Bloomca commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Description

Fix attributes normalization. There were several problems:

  • dangerouslySetInnerHTML becomes an attribute containing "[object Object]" and no HTML is inserted
  • htmlFor becomes htmlfor, not for
  • Boolean ARIA/data attributes use HTML boolean-attribute semantics. For example, aria-hidden={false} removes the attribute instead of producing aria-hidden="false"

This PR fixes these issues.

@Bloomca
Bloomca merged commit 33fdf74 into main Jul 17, 2026
4 checks passed
@Bloomca
Bloomca deleted the fix-attributes-normalization branch July 17, 2026 17:10
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