diff options
Diffstat (limited to 'subprojects/frontend/src/graph/export')
-rw-r--r-- | subprojects/frontend/src/graph/export/exportDiagram.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/src/graph/export/exportDiagram.tsx b/subprojects/frontend/src/graph/export/exportDiagram.tsx index a0c3460c..52d19aa0 100644 --- a/subprojects/frontend/src/graph/export/exportDiagram.tsx +++ b/subprojects/frontend/src/graph/export/exportDiagram.tsx | |||
@@ -63,7 +63,7 @@ function fixIDs(id: string, svgDocument: XMLDocument) { | |||
63 | idMap.set(`url(#${oldId})`, `url(#${newId})`); | 63 | idMap.set(`url(#${oldId})`, `url(#${newId})`); |
64 | node.setAttribute('id', newId); | 64 | node.setAttribute('id', newId); |
65 | } else { | 65 | } else { |
66 | node.setAttribute('id', ''); | 66 | node.removeAttribute('id'); |
67 | } | 67 | } |
68 | }); | 68 | }); |
69 | svgDocument.querySelectorAll('[clip-path]').forEach((node) => { | 69 | svgDocument.querySelectorAll('[clip-path]').forEach((node) => { |