mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-05 20:05:14 +01:00
fixed some indents
This commit is contained in:
parent
24da52303d
commit
7008e2a23a
1 changed files with 4 additions and 5 deletions
|
|
@ -135,11 +135,10 @@ def markup_chapters(self, html, wordcount, blanks_between_paragraphs):
|
|||
|
||||
is_pdftohtml = self.is_pdftohtml(html)
|
||||
if is_pdftohtml:
|
||||
print "this is a pdf"
|
||||
chapter_line_open = "<(?P<outer>p)[^>]*>(\s*<[ibu][^>]*>)?\s*"
|
||||
chapter_line_close = "\s*(</[ibu][^>]*>\s*)?</(?P=outer)>"
|
||||
title_line_open = "<(?P<outer2>p)[^>]*>\s*"
|
||||
title_line_close = "\s*</(?P=outer2)>"
|
||||
chapter_line_open = "<(?P<outer>p)[^>]*>(\s*<[ibu][^>]*>)?\s*"
|
||||
chapter_line_close = "\s*(</[ibu][^>]*>\s*)?</(?P=outer)>"
|
||||
title_line_open = "<(?P<outer2>p)[^>]*>\s*"
|
||||
title_line_close = "\s*</(?P=outer2)>"
|
||||
|
||||
|
||||
if blanks_between_paragraphs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue