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

Disallow elements in attributes (redux) #460

Merged
merged 6 commits into from
Jan 7, 2025
Merged

Conversation

lambda-fairy
Copy link
Owner

Fixes a regression from #412. Alternate implementation of #459.

The following code was allowed, and this PR fixes the parser to ban it:

html! {
    a href={ b {} } {}
}

@lambda-fairy lambda-fairy force-pushed the element-in-attribute-v2 branch from cdc02c8 to e0c30e3 Compare January 7, 2025 06:23
@lambda-fairy lambda-fairy merged commit b912bd9 into main Jan 7, 2025
4 checks passed
@lambda-fairy lambda-fairy deleted the element-in-attribute-v2 branch January 7, 2025 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant