Skip to content

Conversation

@stephannv
Copy link
Owner

This allows the lib to render attribute names without converting _ to -, eg.

input({ "data-on:mycustomevent__window" => "$result = evt.detail.value "})
# Result:
# <input data-on:mycustomevent__window="$result = evt.detail.value">

@stephannv stephannv merged commit c9da7bd into main Dec 28, 2025
1 check passed
@stephannv stephannv deleted the feat/hash_attributes branch December 28, 2025 13:38
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.

Attribute name parsing converts double underscores to double hyphens, breaking some frontend frameworks

2 participants