mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-23 16:27:35 +00:00
7e35775681
* tos * adds cloud service * cloud service description WIP * action minute * service level description * SAML and last revised * tos credit and payment * dpa basic, profile, and payment data * service description: authenticated requests * cloud service description: ui * add notification box * sla description * support services * removes dedicated instance annex * remove dedicated instance annex sidebar, links * update dedicated terms * merge additional terms in sidebar * privacy formatting * pp update piid table * remove cloudflare cookies * privacy customer portal cookies * revert editing guides * dates * docs: test * modification of services * Apply suggestions from code review Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> * add disclaimer to regions list Co-authored-by: Maximilian Panne <mpa@caos.ch> Co-authored-by: Maximilian Panne <maximilian.panne@gmail.com> Co-authored-by: mffap <mpa@zitadel.com>
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).
|