From 61fb4f30e04733c7233162590dd56c03095a8ce8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 14 Dec 2010 19:06:44 -0700 Subject: [PATCH] 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) --- src/calibre/ebooks/mobi/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/mobi/reader.py b/src/calibre/ebooks/mobi/reader.py index b39c4483ec..ec55e67899 100644 --- a/src/calibre/ebooks/mobi/reader.py +++ b/src/calibre/ebooks/mobi/reader.py @@ -239,7 +239,7 @@ class MobiReader(object): self.base_css_rules = textwrap.dedent(''' 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 }