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

Detect arbitrary variants with quotes #8687

Merged
merged 3 commits into from
Jun 20, 2022

Conversation

thecrypticace
Copy link
Contributor

Fixes #8660

We have to have two regexes here because this is actually ambiguous in the general case. The regex that generally handles `[&[foo='bar']]` would incorrectly match `['bar':'baz']` for instance. So, instead we’ll use multiple regexes and match both!
@thecrypticace thecrypticace merged commit c5e7857 into master Jun 20, 2022
@thecrypticace thecrypticace deleted the fix/arbitrary-variants-with-quotes branch June 20, 2022 13:56
TastyPi added a commit to TastyPi/tailwindcss-rails that referenced this pull request Aug 8, 2022
I need the fix in tailwindlabs/tailwindcss#8687 which was release in v3.1.4.

Has there been any thought in decoupling `tailwindcss-rails` releases from Tailwind? It would be nice to be able to use the latest Tailwind release without having to wait for `tailwindcss-rails` to be released.
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.

no css output for inline classes which specify an attribute value in an arbitrary variant
1 participant