Skip to content
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

Bad parsing with attribute splices #420

Open
J-Cake opened this issue Feb 14, 2024 · 1 comment
Open

Bad parsing with attribute splices #420

J-Cake opened this issue Feb 14, 2024 · 1 comment
Labels

Comments

@J-Cake
Copy link

J-Cake commented Feb 14, 2024

The following snippet produces corrupt markup:

span attr=(r#"Hello"World"#) {}
div {}

Results in the following markup:

<span attr="hello&quot;world" div></span>

The resulting visuals are ... beyond broken :/

@lambda-fairy lambda-fairy changed the title Bad string escaping in attributes Bad parsing with attribute splices Feb 21, 2024
@lambda-fairy
Copy link
Owner

Thanks for reporting. We changed attribute syntax recently so I wonder if that's related. Alternatively, does #412 fix the bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants