Quantcast
Channel: ajaxmin Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 683

Created Unassigned: The

$
0
0
I'm having an issue when compressing css that has embedded asp.net blocks in the background-image url, it chops part of it out. Here is how we are using it:

var minifier = new Minifier();
minifier.MinifyStyleSheet(fileText, new CssSettings { AllowEmbeddedAspNetBlocks = true }, new CodeSettings { AllowEmbeddedAspNetBlocks = true });

and an example css is

.test {
background-image:url(<%=WebResource("Test.Resource.Image.png")%>);
}

is minified to

.test{background-image:("Test.Resource.Image.png")%>)}

Viewing all articles
Browse latest Browse all 683

Trending Articles