aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-adium.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-theme-adium.c')
-rw-r--r--libempathy-gtk/empathy-theme-adium.c6
1 files changed, 6 insertions, 0 deletions
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, "<div style=\"display: inline; "
+ "white-space: pre-wrap\"'>");
+ g_string_append (string, "</div>");
+
return g_string_free (string, FALSE);
}