Apply a patch submitted by Jan Thor for the feature described in bug 492277, "Remove only auto generated id's".
Adds the command-line options --protect-ids-noninkscape, --protect-ids-list and --protect-ids-prefix, and three options to the Inkscape Save as Optimized SVG dialog.
This commit is contained in:
parent
48776271d7
commit
fcbb2b0332
2 changed files with 53 additions and 4 deletions
11
unittests/protection.svg
Normal file
11
unittests/protection.svg
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path id="path1" d="m1,1z"/>
|
||||
<path id="path2" d="m1,1z"/>
|
||||
<path id="path3" d="m1,1z"/>
|
||||
<path id="path4" d="m1,1z"/>
|
||||
<path id="p:mypath1" d="m1,1z"/>
|
||||
<path id="p_mypath1" d="m1,1z"/>
|
||||
<path id="otherpath" d="m1,1z"/>
|
||||
<use xlink:href="#path1"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 403 B |
Loading…
Add table
Add a link
Reference in a new issue