google-code-export / wro4j

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

Error with v1.6.3 and CSS data URLs #696

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since upgrading to v1.6.3, less files that contain base64 encoded data uris are 
no longer processed.

For example, if I add a file with the following content to a wro package, the 
compilation will fail

.test {
background:url(data:image/gif;base64,R0lGODlhBQALAIAAAP7//6a9zyH5BAkAAAAALAAAAAA
FAAsAAAILDBx4mrfeEJuQogIAOw==) no-repeat 50% 50%;
}
The exception outputted to the console is

ERROR 
ro.isdc.wro.model.resource.processor.decorator.ExceptionHandlingProcessorDecorat
or-process:65 - Failed to process the resource: 
ro.isdc.wro.model.resource.Resource@17a22c0[CSS,app-dashboard,true] using 
processor: ro.isdc.wro.extensions.processor.css.LessCssProcessor@1710dc0. 
Reason: Error in LESS: 
SyntaxError: expected ')' got '''

More details on github issue page: https://github.com/alexo/wro4j/issues/105

Original issue reported on code.google.com by alex.obj...@gmail.com on 25 Mar 2013 at 7:44

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.6.x

Original comment by alex.obj...@gmail.com on 1 Apr 2013 at 9:18

GoogleCodeExporter commented 9 years ago
Issue 721 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
Issue 714 has been merged into this issue.

Original comment by alex.obj...@gmail.com on 22 May 2013 at 8:27

GoogleCodeExporter commented 9 years ago
Issue 713 has been merged into this issue.

Original comment by alex.obj...@gmail.com on 22 May 2013 at 8:28

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 8 Jun 2013 at 9:43