mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
04bbda5e5a
commit
7008e9b64c
@ -72,8 +72,6 @@ class DocAnalysis(object):
|
||||
|
||||
def __init__(self, format='html', raw=''):
|
||||
raw = raw.replace(' ', ' ')
|
||||
#raw = raw.replace('\r\n', '\n')
|
||||
#raw = raw.replace('\r', '\n')
|
||||
if format == 'html':
|
||||
linere = re.compile('(?<=<p)(?![^>]*>\s*</p>).*?(?=</p>)', re.DOTALL)
|
||||
elif format == 'pdf':
|
||||
|
Loading…
x
Reference in New Issue
Block a user