mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 23:23:04 +02:00
APNX: Modify the accurate parser so it includes div tags a paragraph tags. This will throw off the output a little bit when dealing with things like del tags.
This commit is contained in:
parent
88de42894e
commit
4c77213c9b
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ def get_pages_accurate(self, mobi_file_path):
|
|||
if c == '/':
|
||||
closing = True
|
||||
continue
|
||||
elif c == 'p':
|
||||
elif c in ('d', 'p'):
|
||||
if closing:
|
||||
in_p = False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue