Kaydet (Commit) c6356444 authored tarafından Colomban Wendling's avatar Colomban Wendling

Fix escaping of infobar text against entity injection from filename

Fixes #2033.
üst 9838a8e9
......@@ -3459,7 +3459,7 @@ static GtkWidget* document_show_message(GeanyDocument *doc, GtkMessageType msgty
text = g_strdup_vprintf(format, args);
va_end(args);
markup = g_strdup_printf("<span size=\"larger\">%s</span>", text);
markup = g_markup_printf_escaped("<span size=\"larger\">%s</span>", text);
g_free(text);
info_widget = gtk_info_bar_new();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment