From 0cbb3d8ec6c090874efca12bc16be4e9e40cb4a1 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 8 Mar 2020 11:11:13 +0100 Subject: [PATCH] Remove SVG title for anonymous graphs Fixes https://gitlab.com/graphviz/graphviz/-/issues/1376 A similar fix for other output formats was introduced in 80d6ed709b365d39fe63dd279d137749a7ae42c2. --- plugin/core/gvrender_core_svg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin/core/gvrender_core_svg.c b/plugin/core/gvrender_core_svg.c index a24b53365..ef2b4e3b0 100644 --- a/plugin/core/gvrender_core_svg.c +++ b/plugin/core/gvrender_core_svg.c @@ -38,6 +38,8 @@ #include "gvio.h" #include "gvcint.h" +#define LOCALNAMEPREFIX '%' + typedef enum { FORMAT_SVG, FORMAT_SVGZ, } format_type; /* SVG dash array */ @@ -201,7 +203,7 @@ static void svg_begin_graph(GVJ_t * job) obj_state_t *obj = job->obj; gvputs(job, "