RazrFalcon / svgcleaner

svgcleaner could help you to clean up your SVG files from the unnecessary data.
GNU General Public License v2.0
1.62k stars 93 forks source link

{fill:none!important} invalid color? #231

Open JoKalliauer opened 3 years ago

JoKalliauer commented 3 years ago
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 5120 2240" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
 <defs>
  <style type="text/css">
  .Linie{fill:none!important}
  </style>
 </defs>
  <path class="Linie" d="m292 957h4472.5"/>
</svg>

results in Error: invalid color at 1:1.

Is it invalid syntax or not supported?

RazrFalcon commented 3 years ago

!important is not supported.