mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 10:07:32 +00:00

* fix: management reduce optimization * fix: reduce optimization * fix: reduce optimization * fix: merge master
15 lines
455 B
Markdown
15 lines
455 B
Markdown
# 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`:
|
|
|
|
```go
|
|
s.Rect(currX, currY, qs.blockSize, qs.blockSize, "class=\"color\"")
|
|
```
|
|
|
|
and not
|
|
```go
|
|
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).
|