-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
I think I've found a new bug which might be a continuation from #269 and gohugoio/hugo#6475
Broken SVG output from minify -a file.html
:
<path d="m80.755 208.22q0 3.9798-2.271 6.0964-2.26 2.1167-6.5374 2.1167h-4.5641v-16.118h5.0602q3.9467.0 6.1295 2.0836 2.1828 2.0836 2.1828 5.8208zm-3.5498-.0882-4.5861-5.1924h-1.819v10.495h1.4662l4.9389-5.3027z"/>
Expected output (originally inlined svg):
<path d="m80.755+208.22q0+3.9798-2.271+6.0964-2.26+2.1167-6.5374+2.1167h-4.5641v-16.118h5.0602q3.9467-0+6.1295+2.0836+2.1828+2.0836+2.1828+5.8208zm-3.5498-0.0882q0-5.1924-4.5861-5.1924h-1.819v10.495h1.4662q4.9389-0+4.9389-5.3027z" />
You can see that it changed the 5.8208zm-3.5498-0.0882q0-5.1924
to 5.8208zm-3.5498-.0882-4.5861
, it seems it just deleted the q
in there.
I'd kindly ask minify to stop messing with the SVG paths...
Metadata
Metadata
Assignees
Labels
No labels