Closed alesso-x closed 4 years ago
@alesso-x Thanks for reporting! Given the prefix can contain any valid CSS selector character, I ended up concatenating the prefix directly with the Tailwind class name without any additional logic to add/strip/replace characters.
Using the prefix from the tailwind docs
tw-
produces classes with extra dashes. Instead oftw-bg-black
, it becomestw--bg-black
.I think the fix is to just check if the prefix ends with a dash and trim it here.