Skip to content

Multiline unsupported since v2.5.0 #458

Closed
@madmoizo

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontext-v2Related to tailwind-merge v2

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions