Stylesheet::Minifier should not remove spaces inside media query blocks #22

gsmendoza opened this Issue May 14, 2012 · 0 comments


None yet

1 participant

Given Smurf 1.0.8
And I have the following content
  content = " @media screen and (min-width: 720px) { .flight-group .date h2 { display: none; } } "
When I include Minifier in the content
  class << content; include Smurf::Stylesheet::Minifier; end
And I remove the spaces inside the blocks of the content
Then I should get
  " @media screen and (min-width: 720px) {.flight-group .date h2{display:none;} } "
But instead I get
  " @media screen and (min-width: 720px) {.flight-group.dateh2{display:none;} } "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment