Pavliko / postcss-svg

PostCSS plug-in which to insert inline SVG to CSS and allows you to manage it colors.
http://pavliko.github.io/postcss-svg/
Creative Commons Zero v1.0 Universal
124 stars 23 forks source link

SVG names with single quotes do not get replaced #10

Closed jharding closed 9 years ago

jharding commented 9 years ago

Test case:

body {
  background-image: svg('ei#sc-github');
}

The expected result is that svg('ei#sc-github') would get replaced with an inlined data url. This doesn't happen though because replace has it's single quotes substituted for double quotes.