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

Open
gsmendoza opened this Issue May 14, 2012 · 0 comments

Projects

None yet

1 participant

@gsmendoza
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
  content.remove_spaces_inside_block
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