v25.4 Changed ID format for items with same name when saving SVGs
Do this on both v25.3.1 with v25.4 (Both Mac, Windows):
Assuming Identify Objects By Object Name is on.
1) Create new document
2) Create two items (e.g. rectangle)
3) Rename rectangles to same name
4) Save SVG (not export)
Expected format from v25.3.1:
<rect id="rect_1_" ...
<rect id="rect" ...
Actual v25.4 output:
<rect id="rect_00000161598596446820662850000009930553674419257219_" ...
<rect id="rect"
We have clients who have CSS selectors that dynamically change the SVG, so now they can't update their designs in our system because it breaks the CSS selectors.
Afterwards, changing "Identify Objects By" shows that same ID name in the layers panel.
-
Anonymous commented
It'd be very useful to know if this is a permanent change. Thanks.