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

Custom identifiers with spaces broken in PR #397 (v1.21.9) #400

Open
agclark27 opened this issue Jul 16, 2024 · 1 comment
Open

Custom identifiers with spaces broken in PR #397 (v1.21.9) #400

agclark27 opened this issue Jul 16, 2024 · 1 comment

Comments

@agclark27
Copy link

PR #397 introduces support for minifying custom identifiers, but if those custom identifiers contain spaces in their names, the spaces are removed, breaking the interpretation of those identifiers. This behavior is not present prior to PR #397 in v1.21.8.

.test { grid-template-rows: [header-start] auto [header-end main-start] minmax(auto,1fr) [main-end footer-start] auto [footer-end];

When run against NUglify.Uglify.Css, the identifiers "header-end main-start" becomes "header-endmain-start" (space removed).

.test{grid-template-rows:[header-start] auto [header-endmain-start]minmax(auto,1fr) [main-end footer-start]auto [footer-end]

@trullock
Copy link
Owner

OK, PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants