BlessCSS / bless

CSS Post-Processor
blesscss.com
MIT License
282 stars 60 forks source link

Error: property missing ':' when SVG is inline #109

Open Triloworld opened 6 years ago

Triloworld commented 6 years ago

Error:

Message:
    .../styles.css:50:46161: property missing ':'
Details:
    reason: property missing ':'
    filename: .../styles.css
    source: =utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="50" /></filter></svg>#filter');filter:blur(50px);z-index:0}

To reproduce, add this to css: filter:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="50" /></filter></svg>#filter');

I think, charset=utf-8 is problem for bless. It is bug or I cannot add inline SVG when dealing with bless?