From: Florian Forster Date: Sat, 19 Jun 2010 09:03:50 +0000 (+0200) Subject: src/action_list_graphs.c: Properly escape HTML. X-Git-Tag: v4.0.0~228 X-Git-Url: https://git.octo.it/?p=collection4.git;a=commitdiff_plain;h=f2f5199194d22cd15681fdf02469dce4445f3d14;ds=sidebyside src/action_list_graphs.c: Properly escape HTML. --- diff --git a/src/action_list_graphs.c b/src/action_list_graphs.c index 92d82d7..964a436 100644 --- a/src/action_list_graphs.c +++ b/src/action_list_graphs.c @@ -85,6 +85,7 @@ static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ memset (desc, 0, sizeof (desc)); graph_get_title (cfg, desc, sizeof (desc)); + html_escape_buffer (desc, sizeof (desc)); printf ("
  • %s\n