Sublime-CSS-Format
Sublime-CSS-Format copied to clipboard
Bug when inline dataURL exists
hi there,
when I compress CSS with some inline SVG, such as:
.a{background:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"</svg>');}
.b:before {content: "/\00a0";}
it returns the following
.a{background:url('data:image/svg+xml;charset=utf-8,<svg xmlns=!string!</svg>')}.b:before{content:"http://www.w3.org/2000/svg"}
the content is somehow wrong.
-
xmlns=!string!
should bexmlns="http://www.w3.org/2000/svg"
-
content:"http://www.w3.org/2000/svg"
should becontent: "/\00a0"
any idea? thanks
one year later, the problem still exists