MOBI Input: Handle the (rare) MOBI files that do not specify per paragraph text indents correctly. Fixes #7869 (Converting mobipocket to mobipocket removes paragraph indentation)

This commit is contained in:
Kovid Goyal 2010-12-14 19:06:44 -07:00
parent 491d1a8954
commit 61fb4f30e0

View File

@ -239,7 +239,7 @@ class MobiReader(object):
self.base_css_rules = textwrap.dedent(''' self.base_css_rules = textwrap.dedent('''
blockquote { margin: 0em 0em 0em 2em; text-align: justify } blockquote { margin: 0em 0em 0em 2em; text-align: justify }
p { margin: 0em; text-align: justify } p { margin: 0em; text-align: justify; text-indent: 1.5em }
.bold { font-weight: bold } .bold { font-weight: bold }