From 653a48527fe1986b488e2e8e0c3e33ea4b63fc9f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 6 Dec 2013 10:32:02 +0530 Subject: [PATCH] Fix page-break-* properties not being highlighted 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 4addf3ca3c..128bbc0989 100644 --- a/src/calibre/gui2/tweak_book/editor/syntax/css.py +++ b/src/calibre/gui2/tweak_book/editor/syntax/css.py @@ -44,7 +44,7 @@ content_tokens = [(re.compile(k), v, n) for k, v, n in [ r'margin-top|margin|marker-offset|marks|max-height|max-width|' r'min-height|min-width|opacity|orphans|outline|outline-color|' r'outline-style|outline-width|overflow(?:-x|-y)?|padding-bottom|' - r'padding-left|padding-right|padding-top|padding|page|' + r'padding-left|padding-right|padding-top|padding|' r'page-break-after|page-break-before|page-break-inside|' r'pause-after|pause-before|pause|pitch|pitch-range|' r'play-during|position|quotes|richness|right|size|'