You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow empty curly brackets as attributes, instead of removing them.
Input
.text-red-400()&attributes(attributes)
Expected Output
.text-red-400()&attributes(attributes)
Additional Context
I just faced an issue using .text-red-400&attributes(attributes) because Tailwind thinks this whole thing is a class text-red-400&attributes as it does not generate the class .text-red-400.
If we allow empty curly brackets, then this example would be fixed by .text-red-400()&attributes(attributes).
My current workaround is .text-red-400(class="")&attributes(attributes) but does not make much sense
The text was updated successfully, but these errors were encountered:
Request / Idea
Allow empty curly brackets as attributes, instead of removing them.
Input
Expected Output
Additional Context
I just faced an issue using
.text-red-400&attributes(attributes)
because Tailwind thinks this whole thing is a classtext-red-400&attributes
as it does not generate the class.text-red-400
.If we allow empty curly brackets, then this example would be fixed by
.text-red-400()&attributes(attributes)
.My current workaround is
.text-red-400(class="")&attributes(attributes)
but does not make much senseThe text was updated successfully, but these errors were encountered: