mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f172c67706
commit
4de8ffb6f7
@ -118,7 +118,7 @@ class TextileMLizer(OEB2HTML):
|
||||
# blank paragraph
|
||||
text = text.replace('\n\xa0', '\np. ')
|
||||
# blank paragraph
|
||||
text = re.sub(r'\np[<>=]{1,2}?\\. \xa0', r'\np. ', text)
|
||||
text = re.sub(r'\np[<>=]{1,2}?\. \xa0', r'\np. ', text)
|
||||
text = re.sub(r'(^|\n)(p.*\. ?\n)(p.*\.)', r'\1\3', text)
|
||||
text = re.sub(r'\n(p\. \n)(p.*\.|h.*\.)', r'\n\2', text)
|
||||
# sort out spaces in tables
|
||||
|
Loading…
x
Reference in New Issue
Block a user