From 93e1b40ae9c4bd0bce85dec340f316e2f8b36d18 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Dec 2013 13:29:25 +0530 Subject: [PATCH] Syntax highlight panose-1 correctly --- src/calibre/gui2/tweak_book/editor/syntax/css.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/editor/syntax/css.py b/src/calibre/gui2/tweak_book/editor/syntax/css.py index 2b84defd35..ced18d074e 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/css.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/css.py @@ -38,7 +38,7 @@ content_tokens = [(re.compile(k), v, n) for k, v, n in [ r'cue-after|cue-before|cue|cursor|direction|display|' r'elevation|empty-cells|float|font-family|font-size|' r'font-size-adjust|font-stretch|font-style|font-variant|' - r'font-weight|font|height|letter-spacing|line-height|' + r'font-weight|font|height|letter-spacing|line-height|panose-1|' r'list-style-type|list-style-image|list-style-position|' r'list-style|margin-bottom|margin-left|margin-right|' r'margin-top|margin|marker-offset|marks|max-height|max-width|'