There are different behaviors for custom attributes that do not start with data and attributes that start with data #11342
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
What should I do for attributes that do not start with data if I also want to maintain the absence of attribute values? Their performance is different, and in the final generated HTML file, I only want to keep
custom
instead ofcustom="true"
What's the expected result?
keep
custom
instead ofcustom="true"
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-x7gejb?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: