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

Multiline unsupported since v2.5.0 #458

Closed
madmoizo opened this issue Aug 12, 2024 · 2 comments · Fixed by #459
Closed

Multiline unsupported since v2.5.0 #458

madmoizo opened this issue Aug 12, 2024 · 2 comments · Fixed by #459
Labels
bug Something isn't working context-v2 Related to tailwind-merge v2

Comments

@madmoizo
Copy link

madmoizo commented Aug 12, 2024

Describe the bug

Multiline does not work anymore. (no \n \t cleaning before processing?)

To Reproduce

twMerge(
	`
	justify-center
`,
	"justify-start"
)

Result:

			justify-center
		 justify-start

Expected behavior

 justify-start

Environment

  • tailwind-merge version: 2.5.0+

Additional context

@github-actions github-actions bot added the context-v2 Related to tailwind-merge v2 label Aug 12, 2024
@dcastil dcastil added the bug Something isn't working label Aug 12, 2024
@dcastil
Copy link
Owner

dcastil commented Aug 12, 2024

Indeed, will fix this soon.


Caused by #450.

Copy link

This was addressed in release v2.5.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working context-v2 Related to tailwind-merge v2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants