correctly generate css for font that have a space. Fixes #9012

This commit is contained in:
Yann Leboulanger 2018-03-27 12:25:20 +02:00
parent 5794d54d1c
commit 7562acbe5b
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ def add_css_font():
unit = "pt" if Gtk.check_version(3, 22, 0) is None else "px"
css = """
.font_custom {{
font-family: {family};
font-family: "{family}";
font-size: {size}{unit};
font-weight: {weight};
}}""".format(