Open mischnic opened 2 weeks ago
Hey! Thanks a ton for this report. We actually just merged some fixed around this into the next
branch the other day: https://github.com/tailwindlabs/tailwindcss/pull/14879
I did some quick test with your example and it does seem to fix the issue. We plan to release a new alpha very soon so you can test it too!
What version of Tailwind CSS are you using?
For example: both 3.4.13 and 4.0.0-alpha.30
What build tool (or framework if it abstracts the build tool) are you using?
This happens in the online playground as well. Originally Next.js with Turbopack
What version of Node.js are you using?
v20
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/NObbqx3vf9?file=css
Describe your issue
Tailwind turns
into
Notice that
src:
value has some newlines, and thatformat()
is duplicated with invalid syntax.