You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data-script='on click log "this uses double quotes in the attribute" end'
data-script="on click log 'this uses single quotes in the attribute' end"
data-script="on click log \"escaping does not work\" end"
The text was updated successfully, but these errors were encountered:
Brought to my attention by @c-nv-s in the HTMX discord.
It is valid HTML to have single quote attributes, to make attributes that contain double quotes easier to write, https://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
The text was updated successfully, but these errors were encountered: