diff --git a/src/document.c b/src/document.c index 304d2c3a..37cf323c 100644 --- a/src/document.c +++ b/src/document.c @@ -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("%s", text); + markup = g_markup_printf_escaped("%s", text); g_free(text); info_widget = gtk_info_bar_new();