Skip to content

Commit

Permalink
Use xlink:href instead of href as suggested by snibgo.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jan 16, 2023
1 parent ebbbe8e commit 1439ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/svg.c
Original file line number Diff line number Diff line change
Expand Up @@ -4123,7 +4123,7 @@ static MagickBooleanType TraceSVGImage(Image *image,ExceptionInfo *exception)
blob=(unsigned char *) RelinquishMagickMemory(blob);
(void) FormatLocaleString(message,MaxTextExtent,
" <image id=\"image%.20g\" width=\"%.20g\" height=\"%.20g\" "
"x=\"%.20g\" y=\"%.20g\"\n href=\"data:image/png;base64,",
"x=\"%.20g\" y=\"%.20g\"\n xlink:href=\"data:image/png;base64,",
(double) image->scene,(double) image->columns,(double) image->rows,
(double) image->page.x,(double) image->page.y);
(void) WriteBlobString(image,message);
Expand Down

0 comments on commit 1439ece

Please sign in to comment.