You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell this was introduced in 2287382. Before that, SvgFragmentImage._rect() used a namespaced tag by default, but SvgImage._rect() overwrote that to use a non-namespaced tag. Since 2287382, SvgSquareDrawer.drawrect() is used in both cases, which always uses a namespaced tag.
The text was updated successfully, but these errors were encountered:
xi
added a commit
to xi/django-mfa3
that referenced
this issue
Feb 27, 2023
Same problem. "<rect " has become "<svg:rect" and this results in my qr code svg image coming out as a white square where it used to work. Reverting back to 7.3.1 in the meantime.
Since 7.4 the generated SVG looks like this:
Note the namespace on the
rect
element. This is not only unnecessary, it is even invalid when used inline with HTMLAs far as I can tell this was introduced in 2287382. Before that,
SvgFragmentImage._rect()
used a namespaced tag by default, butSvgImage._rect()
overwrote that to use a non-namespaced tag. Since 2287382,SvgSquareDrawer.drawrect()
is used in both cases, which always uses a namespaced tag.The text was updated successfully, but these errors were encountered: