Skip to content

4.0.12 - Regression with SLIM templates (single quotes) #17081

@ledermann

Description

@ledermann

What version of Tailwind CSS are you using?

v4.0.12

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.12-slim-issue

Describe your issue

Similar to #16975 and #16998, there is another issue with SLIM templates. With 4.0.12, the parser fails to handle single quotes (used to enforce trailing white space).

See this example:

div 'A single quote enforces trailing white space = 1234 .text-red-500.text-3xl | This text should be red

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

Image

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