From 6762b1238d6c2e38aeca76ec266b7e6b82a36f19 Mon Sep 17 00:00:00 2001 From: Dan Vrátil Date: Mon, 16 Apr 2012 14:19:16 +0200 Subject: Handle default e-mail fonts with multiword names correctly --- widgets/misc/e-web-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index 99af4681fd..0eab91a806 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -2904,7 +2904,7 @@ e_web_view_update_fonts(EWebView *web_view) stylesheet = g_string_new (""); g_string_append_printf (stylesheet, "body {\n" - " font-family: %s;\n" + " font-family: '%s';\n" " font-size: %dpt;\n" " font-weight: %d;\n" " font-style: %s;\n", @@ -2936,7 +2936,7 @@ e_web_view_update_fonts(EWebView *web_view) g_string_append_printf (stylesheet, "pre,code,.pre {\n" - " font-family: %s;\n" + " font-family: '%s';\n" " font-size: %dpt;\n" " font-weight: %d;\n" " font-style: %s;\n" -- cgit