diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index 82b94ee3c..c50094a93 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -657,7 +657,7 @@ class Font(BaseType): (?P[0-9]+((\.[0-9]+)?[pP][tT]|[pP][xX])) )\ # size/weight/style are space-separated )* # 0-inf size/weight/style tags - (?P[A-Za-z, "]*)$ # mandatory font family""", re.VERBOSE) + (?P[A-Za-z, "-]*)$ # mandatory font family""", re.VERBOSE) def validate(self, value): if not value: