Edit book: Fix syntax highlighting for break-(before|after). Fixes #1863020 [[Editor] break-after and -before are unknown properties in CSS editor](https://bugs.launchpad.net/calibre/+bug/1863020)

This commit is contained in:
Kovid Goyal 2020-02-13 08:01:33 +05:30
parent 9c6444e3b8
commit 19d0c2ae1b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -53,6 +53,7 @@ content_tokens = [(re.compile(k), v, n) for k, v, n in [
r'outline-style|outline-width|overflow(?:-x|-y)?|padding-bottom|'
r'padding-left|padding-right|padding-top|padding|'
r'page-break-after|page-break-before|page-break-inside|'
r'break-before|break-after|'
r'pause-after|pause-before|pause|pitch|pitch-range|'
r'play-during|position|pre-wrap|pre-line|pre|quotes|richness|right|size|'
r'speak-header|speak-numeral|speak-punctuation|speak|'