Skip to content

4.0.10 - Regression with SLIM templates #16975

@ledermann

Description

@ledermann

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions