mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-04 17:25:09 +01:00
...
This commit is contained in:
parent
053d60331f
commit
d335bccd67
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ def __call__(self, html):
|
|||
# <pre> tags), check and mark up line endings if required before proceeding
|
||||
if self.no_markup(html, 0.1):
|
||||
self.log("not enough paragraph markers, adding now")
|
||||
# check if content is in pre tags, use txt procesor to mark up if so
|
||||
# check if content is in pre tags, use txt processor to mark up if so
|
||||
pre = re.compile(r'<pre>', re.IGNORECASE)
|
||||
if len(pre.findall(html)) == 1:
|
||||
self.log("Running Text Processing")
|
||||
|
|
|
|||
Loading…
Reference in a new issue