mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1132040 (recipe for Die Zeit (subscription only): navigational links damaged due to insertion of whitespace)
This commit is contained in:
parent
c6c395234b
commit
b4603c4be1
@ -88,7 +88,7 @@ class ZeitEPUBAbo(BasicNewsRecipe):
|
|||||||
(re.compile(u' \u00AB'), lambda match: u'\u00AB '), # before closing quotation
|
(re.compile(u' \u00AB'), lambda match: u'\u00AB '), # before closing quotation
|
||||||
(re.compile(u'\u00BB '), lambda match: u' \u00BB'), # after opening quotation
|
(re.compile(u'\u00BB '), lambda match: u' \u00BB'), # after opening quotation
|
||||||
# filtering for spaces in large numbers for better readability
|
# filtering for spaces in large numbers for better readability
|
||||||
(re.compile(r'(?<=\d\d)(?=\d\d\d[ ,\.;\)<\?!-])'), lambda match: u'\u2008'), # end of the number with some character following
|
(re.compile(r'(?<=\d\d)(?=\d\d\d[ ,;\)<\?!-])'), lambda match: u'\u2008'), # end of the number with some character following
|
||||||
(re.compile(r'(?<=\d\d)(?=\d\d\d. )'), lambda match: u'\u2008'), # end of the number with full-stop following, then space is necessary (avoid file names)
|
(re.compile(r'(?<=\d\d)(?=\d\d\d. )'), lambda match: u'\u2008'), # end of the number with full-stop following, then space is necessary (avoid file names)
|
||||||
(re.compile(u'(?<=\d)(?=\d\d\d\u2008)'), lambda match: u'\u2008'), # next level
|
(re.compile(u'(?<=\d)(?=\d\d\d\u2008)'), lambda match: u'\u2008'), # next level
|
||||||
(re.compile(u'(?<=\d)(?=\d\d\d\u2008)'), lambda match: u'\u2008'), # next level
|
(re.compile(u'(?<=\d)(?=\d\d\d\u2008)'), lambda match: u'\u2008'), # next level
|
||||||
|
Loading…
x
Reference in New Issue
Block a user