Skip to content

svgstore creates an unusable output file #11

Description

@KenBallou

svgstore-cli version: 1.3.1
OS: Debian Linux 10.4
Browser: Firefox 68.8.0esr

After $npm install svgstore-cli --save-dev, I use the following command line:

$npx svgstore -o flags.svg images/an.svg

Please see the file bug.txt for my HTML. (It is an HTML file, but github would not accept it with a .html extension.) Nothing is rendered. On the other hand, if I replace the svg tag with <image src="images/an.svg">, then the image is rendered.

I tried this same test using images/us.svg instead of images/an.svg (and changing <use href="flags.svg#an"> to <use href="flags.svg#us">) and got the expected result.

(Because github will not allow me to attach a .svg file, I have changed the extensions on the image files to .txt.)

an.svg
us.svg
bug.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions