Skip to content

4.0.10 - Regression with SLIM templates #16975

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

Closed
ledermann opened this issue Mar 6, 2025 · 2 comments · Fixed by #16985
Closed

4.0.10 - Regression with SLIM templates #16975

ledermann opened this issue Mar 6, 2025 · 2 comments · Fixed by #16985
Assignees

Comments

@ledermann
Copy link

What version of Tailwind CSS are you using?

v4.0.10

What build tool (or framework if it abstracts the build tool) are you using?

@tailwindcss/cli

What version of Node.js are you using?

v22.12.0

What browser are you using?

Brave 1.76.73

What operating system are you using?

macOS 15

Reproduction URL

https://github.com/ledermann/tailwind-4.0.10-slim-issue

Describe your issue

Since 4.0.10, the parser fails to handle brackets in SLIM templates. See this example:

.text-xl.text-red-600[
  data-foo="bar"
]
  | This line should be red

Here, the class text-red-600 is not processed.

Image

It works fine with 4.0.9

@philipp-spiess
Copy link
Member

@ledermann Thanks for the bug report! Going to put out a release with a fix shortly.

@ledermann
Copy link
Author

Works fine with v4.0.11, thanks a lot!

But there is another issue with Slim and brackets, I will submit another issue.

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 a pull request may close this issue.

3 participants