From f2f5199194d22cd15681fdf02469dce4445f3d14 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 19 Jun 2010 11:03:50 +0200 Subject: [PATCH] src/action_list_graphs.c: Properly escape HTML. --- src/action_list_graphs.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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