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

Fix "0%" being replaced with "0" when pretty-printing is disabled #172

Merged
merged 3 commits into from
Apr 10, 2019

Conversation

luontola
Copy link
Contributor

@luontola luontola commented Feb 25, 2019

Fixes #120
Fixes #116

The root cause was in the YUI Compressor and required a dirty hack to prevent it from changing "0%" to "0". In the long run it might be preferable to switch to a CSS compressor which is still maintained. YUI Compressor's latest release is from 2013.

The test assertions used to show the intermediate garden.color.CSSColor
value instead of the actual string value that was being compared.
@luontola
Copy link
Contributor Author

This PR has been released as an unofficial build:

[org.clojars.luontola/garden "1.3.6-patch1"]

https://clojars.org/org.clojars.luontola/garden

@noprompt
Copy link
Owner

Apologies for the delay on merging this. Thanks for fixing the bug. I'm not sure why the test suite needed to be changed in the manner it was but it's not important.

@noprompt noprompt merged commit f776d37 into noprompt:master Apr 10, 2019
@noprompt
Copy link
Owner

@luontola I'm going to add you to the list of folks who can contribute directly to the project. In the future, try directly contacting me in Slack if I do not respond in a timely manner.

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

Successfully merging this pull request may close these issues.

2 participants