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

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

Closed
ledermann opened this issue Mar 9, 2025 · 2 comments · Fixed by #17085
Closed

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

ledermann opened this issue Mar 9, 2025 · 2 comments · Fixed by #17085
Assignees

Comments

@ledermann
Copy link

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

@RobinMalfait
Copy link
Member

This has been fixed by #17085 and will be available in the next release.

@ledermann
Copy link
Author

Works fine in v4.0.13, thanks!

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.

2 participants