Can configure the output style
yisibl opened this issue · 3 comments
yisibl commented
If there is a quote in the url()
, this format is better readability.
.foo {
background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="1px"><rect fill="#c8c7cc" x="0" y="0" w="100%" height="0.5"/></svg>')
}
jonathantneal commented
Agreed. I’ll switch to this format.
yisibl commented
If we use svg('foo')
output url('')
,
else if we use svg(foo)
output url()
.
jonathantneal commented
This is now handled in v2.0.0