summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pluma/pluma-pango.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pluma/pluma-pango.c b/pluma/pluma-pango.c
index 91dc686d..26a84837 100644
--- a/pluma/pluma-pango.c
+++ b/pluma/pluma-pango.c
@@ -104,7 +104,9 @@ pluma_pango_font_description_to_css (const PangoFontDescription *desc)
if (set & PANGO_FONT_MASK_FAMILY)
{
g_string_append (s, "font-family: ");
+ g_string_append (s, "\"");
g_string_append (s, pango_font_description_get_family (desc));
+ g_string_append (s, "\"");
g_string_append (s, "; ");
}
if (set & PANGO_FONT_MASK_STYLE)