mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 04:34:27 +02:00
Fix #589
This commit is contained in:
parent
0f8924b29e
commit
74accb9d04
1 changed files with 1 additions and 1 deletions
|
|
@ -1277,7 +1277,7 @@ def text_properties(self, tag_css):
|
|||
indent = self.book.defaultTextStyle.attrs['parindent']
|
||||
if tag_css.has_key('text-indent'):
|
||||
bl = str(self.current_block.blockStyle.attrs['blockwidth'])+'px'
|
||||
if 'em' in tag_css['text_indent']:
|
||||
if 'em' in tag_css['text-indent']:
|
||||
bl = '10pt'
|
||||
indent = self.unit_convert(str(tag_css['text-indent']), pts=True, base_length=bl)
|
||||
if not indent:
|
||||
|
|
|
|||
Loading…
Reference in a new issue