From: Emden Gansner Date: Wed, 23 May 2012 19:59:20 +0000 (-0400) Subject: Make sure ids are emitted in anchor contexts in svg. X-Git-Tag: LAST_LIBGRAPH~32^2~410 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd51f45627c4db1c9ec061224fd87729b6e4f5b5;p=graphviz Make sure ids are emitted in anchor contexts in svg. Thanks to Masatake YAMATO for the patches. --- diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index 49a607fed..e53339ffd 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -287,6 +287,14 @@ static void svg_begin_anchor(GVJ_t * job, char *href, char *tooltip, char *target, char *id) { + gvputs(job, ""); + gvputs(job, "\n"); + gvputs(job, "\n"); } static void svg_textpara(GVJ_t * job, pointf p, textpara_t * para)