Illegal Characters In Attributes #3128
fweth
started this conversation in
4. General
Replies: 1 comment 3 replies
-
They are talking about the name of the attribute. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I just used the
<
character in some JS code for Alpine in a HTML attribute, and VScode marked it red, but still seemed to work and the browser didn't complain. I looked up the spec and interestingly, they claim that just the other way around,>
is not valid in HTML attributs. So anyway, I just wondered, could this be a problem for some browsers? They also claim=
is not valid, which would make writing JS for Alpine really hard.Beta Was this translation helpful? Give feedback.
All reactions