Skip to content

SVG IDs are not prefixed for *.color.svg files #64

@caesarsol

Description

@caesarsol

Steps to reproduce

  • Make two SVGs each with a clipPath with the same ID
  • Pass them in SVGO by importing them with accurapp as *.color.svg

Actual behavior

The two IDs clashes, because they are note rewritten, and the second clipPath does not work.

Expected behavior

The IDs should be renamed and prefixed (with filenames).
Easy to do just removing this line:

@marcofugaro do you remember why for *.color.svg the IDs are not prefixed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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