Skip to content

Commit

Permalink
[merge] PR #43 from aruZeta/fix/svg-embed-encoding-quotes-inside-attr…
Browse files Browse the repository at this point in the history
…ibute/1

Fix: SVG embed encoding quotes inside attribute
  • Loading branch information
aruZeta committed Sep 26, 2022
2 parents 71a8d09 + 0eaf65d commit 200b5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRgen/private/DrawedQRCode/print.nim
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func encodeSvgEmbed(result: var string, svgImg: string) =
of '<': result.add "%3c"
of '>': result.add "%3e"
of '"': result.add '\''
of '\'': result.add "%27"
of '\'': result.add "%22"
of '#': result.add "%23"
of ',': result.add "%2c"
of ';': result.add "%3b"
Expand Down

0 comments on commit 200b5b1

Please sign in to comment.