From dd41053c243739fc23aa31a1a2f02c3d13c43efb Mon Sep 17 00:00:00 2001 From: liiulinsong Date: Thu, 25 May 2023 17:16:41 +0800 Subject: Add quotes before and after font-family's value --- pluma/pluma-pango.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.1