From: Cristy Date: Mon, 28 May 2018 20:48:50 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.7-36~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c355326d0522b4acb7e7526e1b955cdd1051208;p=imagemagick ... --- diff --git a/coders/svg.c b/coders/svg.c index bab47822a..b8152854c 100644 --- a/coders/svg.c +++ b/coders/svg.c @@ -2573,7 +2573,7 @@ static void SVGEndElement(void *context,const xmlChar *name) keyword=(char *) tokens[j]; value=(char *) tokens[j+1]; (void) FormatLocaleFile(svg_info->file,"push class \"%s\"\n", - keyword); + *keyword == '.' ? keyword+1 : keyword); SVGProcessStyleElement(context,name,value); (void) FormatLocaleFile(svg_info->file,"pop class\n"); }