From 893997bfa2b4f0eb5d8215c1ee0831025e79f1a1 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 2 Mar 2006 18:05:55 +0000 Subject: [PATCH] fix bug#896 - need html escaping of graph name when used in -Tcmapx --- lib/common/mapgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/common/mapgen.c b/lib/common/mapgen.c index 51365b873..9532e38df 100644 --- a/lib/common/mapgen.c +++ b/lib/common/mapgen.c @@ -336,13 +336,13 @@ static void map_begin_page(graph_t * g, point page, double scale, int rot, point offset) { - char *url; + char *url, *name; Rot = rot; + name = xml_string(g->name); if (Output_lang == CMAPX) { - fprintf(Output_file, "\n", g->name, - g->name); + fprintf(Output_file, "\n", name, name); } Root_Graph = g; Default_URL = NULL; -- 2.40.0