mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -164,7 +164,7 @@ class APNXBuilder(object):
|
|||||||
if c == '/':
|
if c == '/':
|
||||||
closing = True
|
closing = True
|
||||||
continue
|
continue
|
||||||
elif c == 'p':
|
elif c in ('d', 'p'):
|
||||||
if closing:
|
if closing:
|
||||||
in_p = False
|
in_p = False
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user