Skip to content
This repository
2  src/com/yahoo/platform/yui/compressor/CssCompressor.java
@@ -161,7 +161,7 @@ public void compress(Writer out, int linebreakpos)
161 161
         css = sb.toString();
162 162
 
163 163
         // Remove empty rules.
164  
-        css = css.replaceAll("[^\\}]+\\{;\\}", "");
  164
+        css = css.replaceAll("[^\\}\\{]+\\{\\}", "");
165 165
 
166 166
         if (linebreakpos >= 0) {
167 167
             // Some source control tools don't like it when files containing lines longer

0 notes on commit 92167fc

Please sign in to comment.
Something went wrong with that request. Please try again.