mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fixed some indents
This commit is contained in:
parent
24da52303d
commit
7008e2a23a
@ -135,11 +135,10 @@ class PreProcessor(object):
|
|||||||
|
|
||||||
is_pdftohtml = self.is_pdftohtml(html)
|
is_pdftohtml = self.is_pdftohtml(html)
|
||||||
if is_pdftohtml:
|
if is_pdftohtml:
|
||||||
print "this is a pdf"
|
chapter_line_open = "<(?P<outer>p)[^>]*>(\s*<[ibu][^>]*>)?\s*"
|
||||||
chapter_line_open = "<(?P<outer>p)[^>]*>(\s*<[ibu][^>]*>)?\s*"
|
chapter_line_close = "\s*(</[ibu][^>]*>\s*)?</(?P=outer)>"
|
||||||
chapter_line_close = "\s*(</[ibu][^>]*>\s*)?</(?P=outer)>"
|
title_line_open = "<(?P<outer2>p)[^>]*>\s*"
|
||||||
title_line_open = "<(?P<outer2>p)[^>]*>\s*"
|
title_line_close = "\s*</(?P=outer2)>"
|
||||||
title_line_close = "\s*</(?P=outer2)>"
|
|
||||||
|
|
||||||
|
|
||||||
if blanks_between_paragraphs:
|
if blanks_between_paragraphs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user