-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(minor) unquoted slash in attributes throws "attempted to close an element that was not open" #7782
Comments
Hi, I would like to attempt this. From what I understand, the following restricts attribute values
Fixing OP's issue would be as simple as removing "/" from this regex, however I thought of allowing "/" only if the read chunk length is 0, like so:
which approach would be better? |
@mustafa0x @dummdidumm I want to take this token ID can you please assign this to me? |
Hi @dummdidumm! I'm down to implement eug-L's solution for this. Totally understand if, instead of assigning it to me, you'd rather I just fix it and make the PR first, just lemme know which you prefer! I'll start working on it regardless though, I'm excited for Svelte 5 to come together! |
Sure, go ahead - just removing the |
@dummdidumm Just removing the I tried changing |
@dummdidumm if this is still unresolved, I would like to work upon this. I am new to open source and I feel I can tackle this. |
…th new expression which now supports = followed by / only.
Describe the bug
<a href=/>Home</a>
is valid HTML5, but fails in Svelte.Reproduction
<a href=/>go home</a>
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: