From 1ed57cd73e39cfa37d3d3dfa9501ecd5476f30d8 Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Fri, 25 Nov 2022 23:40:58 -0600 Subject: Remove purple_markup_escape_text This was originally added because g_markup_escape_text turns ' in to ' which isn't an element in HTML 4 and apparently it wasn't rendered right in IE7. Those days are long gone, so there's no reason we need this anymore. Testing Done: Compiled and ran the unit tests Reviewed at https://reviews.imfreedom.org/r/2096/ --- finch/gntconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'finch') diff --git a/finch/gntconv.c b/finch/gntconv.c index 40da2b145c..0d4b455f98 100644 --- a/finch/gntconv.c +++ b/finch/gntconv.c @@ -154,7 +154,7 @@ entry_key_pressed(GntWidget *w, FinchConv *ggconv) } else { - char *escape = purple_markup_escape_text((*text == '/' ? text + 1 : text), -1); + char *escape = g_markup_escape_text((*text == '/' ? text + 1 : text), -1); purple_conversation_send(ggconv->active_conv, escape); g_free(escape); purple_idle_touch(); -- cgit v1.2.1