Clipping Mask broken in SVG export if name contains hyphen
An Illustrator document that contains a clipping mask will not export correctly if the path used for clipping has a - in the name.
In the resulting SVG code, the path definition looks like this:
<rect id="clipping-path" ... >
but the reference to it looks like this:
<use xlink:href="#clipping_x002D_path" ... >
You can see that the - was converted to "x002D" for the "use" tag, but not for the "rect" tag.
Test files attached.
Illustrator 26.0.3, macOS 12.4
1
vote
Andrew Swift
shared this idea
-
Andrew Swift commented
This is also true if the name contains a period.