mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Input: Do not speciy text-align for every paragraph. Fixes text-align inheritance issues for newer MOBIs with nested divs. Fixes #9098 (Problem with conversion of align="center")
This commit is contained in:
parent
7839e164c4
commit
418d10eace
@ -242,9 +242,11 @@ class MobiReader(object):
|
|||||||
self.debug = debug
|
self.debug = debug
|
||||||
self.embedded_mi = None
|
self.embedded_mi = None
|
||||||
self.base_css_rules = textwrap.dedent('''
|
self.base_css_rules = textwrap.dedent('''
|
||||||
blockquote { margin: 0em 0em 0em 2em; text-align: justify }
|
body { text-align: justify }
|
||||||
|
|
||||||
p { margin: 0em; text-align: justify; text-indent: 1.5em }
|
blockquote { margin: 0em 0em 0em 2em; }
|
||||||
|
|
||||||
|
p { margin: 0em; text-indent: 1.5em }
|
||||||
|
|
||||||
.bold { font-weight: bold }
|
.bold { font-weight: bold }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user