bigskysoftware / bigskysoftware/htmx
htmx 4 metaCharacter affecting event names
Open
htmx 4
- Dominant language
- JavaScript
- Stars
- 49.4k
- Forks
- 1.7k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 30
Description
":" in html attributes names is invalid according to W3C standards, so the config.metaCharacter is a must if you need/want to adhere to those standards. Sadly this setting also affects event names, where I honestly don't see any reason to change them.
This is
1. confusing
2. unaesthetic, as it breaks event naming conventions.
proposed solution:
make metaCharacter not affect event names OR if that feature is necessary split the configs, i.e. attributeMetaCharacter, eventMetaCharacter
slightly off topic, but the default for attributes should probably be "." anyway, same readability and standard conforming.
Contributor guide
Assessment
This issue has not been assessed yet.