google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Css minification problem with absolute url's #721

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When minifying a css containing the following content:

background:url(http://www.image.com/mobile-sprite.png);

using the following processors:

        factory.addPreProcessor(getPlaceholderProcessor());
        factory.addPreProcessor(new CssImportPreProcessor());
        factory.addPreProcessor(new SemicolonAppenderPreProcessor());
        factory.addPreProcessor(new CssVariablesProcessor());
        factory.addPreProcessor(new JSMinProcessor());
        factory.addPreProcessor(new CssMinProcessor());

the minified result corrupts the css. The processed output looks like this: 
url(http:;}

The mailing list thread describing this problem:
https://groups.google.com/forum/#!topic/wro4j/zz-c7l4Emag

Original issue reported on code.google.com by alex.obj...@gmail.com on 16 May 2013 at 2:10

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 16 May 2013 at 2:51