From 97b2edffa6f92c0867823f796d144de9f3712a8e Mon Sep 17 00:00:00 2001 From: Geoff Lankow Date: Thu, 31 May 2018 12:56:39 +1200 Subject: Fix three more instances of incorrectly escaped markup --- src/ui/widget/font-selector.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui/widget/font-selector.cpp') diff --git a/src/ui/widget/font-selector.cpp b/src/ui/widget/font-selector.cpp index 70f7d55db..59b7311c2 100644 --- a/src/ui/widget/font-selector.cpp +++ b/src/ui/widget/font-selector.cpp @@ -12,6 +12,7 @@ #endif #include +#include #include "font-selector.h" @@ -268,8 +269,8 @@ FontSelector::style_cell_data_func (Gtk::CellRenderer *renderer, Gtk::TreeIter c Glib::ustring style = "Normal"; (*iter).get_value(1, style); - Glib::ustring style_escaped = Glib::strescape( style ); - Glib::ustring font_desc = family + " " + style; + Glib::ustring style_escaped = Glib::Markup::escape_text( style ); + Glib::ustring font_desc = Glib::Markup::escape_text( family + " " + style ); Glib::ustring markup; markup = "" + style_escaped + ""; -- cgit v1.2.3