Commit b93a9ee
Fix SVG export: add xlink:href for Illustrator compatibility
Illustrator implements SVG 1.1 and requires xlink:href on <image>
elements plus the xmlns:xlink namespace declaration on the root.
The generated SVG used only the modern href attribute (SVG 2.0),
causing embedded PNG logos to not render in Illustrator.
Add xmlns:xlink to the <svg> root and xlink:href alongside href
on each <image> element. Both attributes are kept so the SVG
renders correctly in both browsers (href) and Illustrator (xlink:href).
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>1 parent 3f8cde9 commit b93a9ee
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| |||
0 commit comments