Repository navigation
0.5.0
What's Changed
- π Fix newlines treated as barriers in preserveWhitespace mode β newlines within class strings no longer incorrectly split sorting groups.
- π Fix PHP concatenation expressions classified as barriers β
'icon--' . $icon['icon']is now correctly recognized as a barrier token inn:class. - π Fix classRegex isSafeCapture rejecting non-class content β inner regex captures containing
$,{,}, or<>are now safely skipped instead of corrupting output. - β¨ Normalize whitespace around operators in n:class β in
normalize-barriersandnormalizemodes, spaces around ternary (?,:), PHP concatenation (.), and commas are now consistently normalized. - β¨ Preserve-mode consistency β
preservemode now correctly keeps original spacing around all operators untouched.
Full Changelog: 0.4.0...0.5.0