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

Ensure nested [] is allowed #5304

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Conversation

RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Aug 26, 2021

After the improvements in #5293, I noticed that writing grid-cols-[[linename],1fr,auto] doesn't work because of the nested []. This PR will make sure that it does work as expected.

You will also notice that this generated a bit more code, because I had some test examples that weren't covered yet.
I also dropped a few examples that were in there from the previous PR. I think we can still do those, but I didn't want to touch the regexes for the content extractors.

This will allow us to write something like:

`grid-cols-[[linename],1fr,auto]`
@RobinMalfait RobinMalfait changed the title ensure nested [] is allowed Ensure nested [] is allowed Aug 26, 2021
@RobinMalfait RobinMalfait merged commit baa8f65 into master Aug 26, 2021
@RobinMalfait RobinMalfait deleted the ensure-valid-arbitrary-value-values branch August 26, 2021 11:50
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