mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
4af38b37a6
* fix: management reduce optimization * fix: reduce optimization * fix: reduce optimization * fix: merge master |
||
---|---|---|
.. | ||
qr_svg_test.go | ||
qr_svg.go | ||
readme.md |
QR Code to SVG
This package is a copy of https://github.com/aaronarduino/goqrsvg with the difference of creating the svg with class
attribute instead of inline style
:
s.Rect(currX, currY, qs.blockSize, qs.blockSize, "class=\"color\"")
and not
s.Rect(currX, currY, qs.blockSize, qs.blockSize, "fill:black;stroke:none")
This allows the svg to be styled by css more easily and does not compromise Content Security Policy (CSP).