Skip to content

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

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions