From 4c77213c9b71afa0a71ab7bc762b991f15c67e15 Mon Sep 17 00:00:00 2001 From: John Schember Date: Thu, 21 Apr 2011 18:51:42 -0400 Subject: [PATCH] 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. --- src/calibre/devices/kindle/apnx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/kindle/apnx.py b/src/calibre/devices/kindle/apnx.py index 178c1091f3..ee519750e0 100644 --- a/src/calibre/devices/kindle/apnx.py +++ b/src/calibre/devices/kindle/apnx.py @@ -164,7 +164,7 @@ class APNXBuilder(object): if c == '/': closing = True continue - elif c == 'p': + elif c in ('d', 'p'): if closing: in_p = False else: