Closed ghost closed 5 years ago
$ svgcleaner x.svg.txt x-out.svg Error: Invalid value for '<in-file>': The file format must be SVG.
This error is technically incorrect. The file format is SVG, but the extension is .svg.txt.
.svg.txt
Try to confirm whether the file is SVG by detecting an <svg XML element within an XML file, rather than using the filename extension.
<svg
The extension must be svg.
svg
allowing .svg .xml and *.txt would be great (txt because of github)
This error is technically incorrect. The file format is SVG, but the extension is
.svg.txt
.Try to confirm whether the file is SVG by detecting an
<svg
XML element within an XML file, rather than using the filename extension.