correctly generate css for font that have a space. Fixes #9012
This commit is contained in:
parent
5794d54d1c
commit
7562acbe5b
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue