Skip to content

License removed by default. Why? #1609

Closed
@toastal

Description

@toastal

Describe the bug

SVG files, especially those exported from various editors, usually contain a lot of redundant and useless information.

How is the metadata, especially the license, considered "useless"? Some information might be, but I would assume authors want to retain their licenses.

To Reproduce
Run the default settings on any image with a <metadata> tag

Expected behavior
Some or all of the metadata is preserved or turned into specific options for removeMetadata.

Desktop (please complete the following information):

$ svgo --version
2.7.0
$ node --version
v14.18.0
$ uname -omvprs
Linux 5.14.8-zen1 #1-NixOS ZEN SMP Tue Jan 1 00:00:00 UTC 1980 x86_64 unknown GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions