-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
What version of Tailwind CSS are you using?
v4.0.11
Reproduction
With the new extractor (#16306) the class h-4 and mx-4 is not picked up anymore when using the following Twig template content:
<div class="flex items-center mx-4{% if session.isValid %}{% else %} h-4{% endif %}"></div>
(See https://play.tailwindcss.com/w3SazyVehg for the example on Tailwind Play and the generated CSS)
I assume the { after h-4 and mx-4 is somehow not considered a (possible) boundary anymore. I think this is likely a bug, as many template languages use { and } as delimiters in some way, so the possibility of a boundary should be taken into account.
yura3dwannesds
Metadata
Metadata
Assignees
Labels
No labels