From 3055c76a94c9628ef30da3bcdf1ca894cb671796 Mon Sep 17 00:00:00 2001 From: Vitaly Minko Date: Thu, 11 Nov 2010 13:32:45 +0100 Subject: Display text in verbatim (#625745) --- libempathy-gtk/empathy-theme-adium.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libempathy-gtk/empathy-theme-adium.c') diff --git a/libempathy-gtk/empathy-theme-adium.c b/libempathy-gtk/empathy-theme-adium.c index 8c6301ee9..b9b6169ef 100644 --- a/libempathy-gtk/empathy-theme-adium.c +++ b/libempathy-gtk/empathy-theme-adium.c @@ -272,6 +272,12 @@ theme_adium_parse_body (const gchar *text) g_object_unref (gsettings); + /* Wrap body in order to make tabs and multiple spaces displayed + * properly. See bug #625745. */ + g_string_prepend (string, "
"); + g_string_append (string, "
"); + return g_string_free (string, FALSE); } -- cgit v1.2.3