]> granicus.if.org Git - graphviz/commitdiff
Backed out changeset 1a9bf8a9b810
authorEmden Gansner <erg@research.att.com>
Wed, 23 May 2012 19:57:10 +0000 (15:57 -0400)
committerEmden Gansner <erg@research.att.com>
Wed, 23 May 2012 19:57:10 +0000 (15:57 -0400)
plugin/core/gvrender_core_svg.c

index e53339ffd5043c62963e8cb4648c4222babad408..49a607fed5e3c3c9f85f1cf0bbc07b035dc2c221 100644 (file)
@@ -287,14 +287,6 @@ static void
 svg_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target,
                 char *id)
 {
-    gvputs(job, "<g");
-    if (id) {
-        gvputs(job, " id=\"");
-        gvputs(job, xml_string(id));
-        gvputs(job, "\"");
-    }
-    gvputs(job, ">");
-
     gvputs(job, "<a");
 #if 0
     /* the svg spec implies this can be omitted: http://www.w3.org/TR/SVG/linking.html#Links */
@@ -332,7 +324,6 @@ svg_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target,
 static void svg_end_anchor(GVJ_t * job)
 {
     gvputs(job, "</a>\n");
-    gvputs(job, "</g>\n");
 }
 
 static void svg_textpara(GVJ_t * job, pointf p, textpara_t * para)