Skip to content

Commit

Permalink
Properly escape markup
Browse files Browse the repository at this point in the history
  • Loading branch information
b4n committed Feb 15, 2016
1 parent 5533a50 commit 98194c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/symbols.c
Expand Up @@ -2003,9 +2003,9 @@ static void show_goto_popup(GPtrArray *tags, gboolean have_best)
gchar *text;

if (first && have_best)
text = g_strdup_printf("<b>%s: %lu</b>", fname, tmtag->line);
text = g_markup_printf_escaped("<b>%s: %lu</b>", fname, tmtag->line);
else
text = g_strdup_printf("%s: %lu", fname, tmtag->line);
text = g_markup_printf_escaped("%s: %lu", fname, tmtag->line);

gtk_list_store_insert_with_values(GTK_LIST_STORE(model), &iter, -1,
PIXBUF_COLUMN, symbols_icons[get_tag_class(tmtag)].pixbuf,
Expand Down

0 comments on commit 98194c0

Please sign in to comment.