diff options
author | liiulinsong <[email protected]> | 2023-05-25 17:16:41 +0800 |
---|---|---|
committer | mouse <[email protected]> | 2023-05-28 10:54:49 +0800 |
commit | dd41053c243739fc23aa31a1a2f02c3d13c43efb (patch) | |
tree | 6636b813db47a8da58dfb57417f2c5cf49e9cda5 | |
parent | 33f39456bba463e280a3dbb811432d6ca443ef1d (diff) | |
download | pluma-dd41053c243739fc23aa31a1a2f02c3d13c43efb.tar.bz2 pluma-dd41053c243739fc23aa31a1a2f02c3d13c43efb.tar.xz |
Add quotes before and after font-family's value
-rw-r--r-- | pluma/pluma-pango.c | 2 |
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) |