Skip to content

Commit 4d3636c

Browse files
committed
Do not set element id for path generated by SvgPathImage
The element id used is hardcoded, which may cause issues when inlining many qr codes in a single document.
1 parent 456b01d commit 4d3636c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

qrcode/image/svg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ def process(self):
152152
self.path = ET.Element(
153153
ET.QName("path"), # type: ignore
154154
d="".join(self._subpaths),
155-
id="qr-path",
156155
**self.QR_PATH_STYLE,
157156
)
158157
self._subpaths = []

0 commit comments

Comments
 (0)