Skip to content

Commit 8ad2c67

Browse files
committed
update comment
1 parent b2c8d19 commit 8ad2c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QRCoder/SvgQRCode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public string GetGraphic(Size viewBox, string darkColorHex, string lightColorHex
127127
Append(drawableModulesCount);
128128
svgFile.Append(@""" shape-rendering=""crispEdges""");
129129

130-
// Add xlink namespace if logo is used
130+
// Add xlink namespace if logo is used (to retain compatibility with older SVG viewers)
131131
if (logo != null && !logo.IsEmbedded())
132132
{
133133
svgFile.Append(@" xmlns:xlink=""http://www.w3.org/1999/xlink""");

0 commit comments

Comments
 (0)