Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Provide a list of externally referenced id's? #218

Open
mortoray opened this issue Jun 17, 2020 · 2 comments
Open

Provide a list of externally referenced id's? #218

mortoray opened this issue Jun 17, 2020 · 2 comments

Comments

@mortoray
Copy link

Is it possible to provide a list of externally referenced ids that won't be removed?

I can disable remove-unreferenced-ids but this leaves a lot of ids I still don't want. It's only a handful of id's that I will need once cleaned. I load these into the browser and use getDocumentElementById. I have a complete list of the ones I want to keep for the images.

@RazrFalcon
Copy link
Owner

No, this is not supported right now.

@JoKalliauer
Copy link
Contributor

@mortoray , @KjellMorgenstern You could use the competitor scour --protect-ids-noninkscape --protect-ids-list=LIST,Keep --protect-ids-prefix=PREFIX . (But it is e.g. not as fast as svgcleaner.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants