-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
What version of Tailwind CSS are you using?
v4.0.11
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.11-slim-issue
Describe your issue
Similar to #16975, there is another issue with SLIM templates. With 4.0.11, the parser fails to handle nested brackets. See this example:
.text-black[
data-controller= ['foo', ('bar' if rand.positive?)].join(' ')
]
.bg-green-300
| BLACK on GREEN - OK
.bg-red-300[
data-foo= 42
]
| Should be BLACK on RED - FAILHere, the class bg-red-300 is not processed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
