mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 05:53:58 +02:00
Fix #1543 (Problem converting ODT to LRF)
This commit is contained in:
parent
1ef8964487
commit
bca2a86168
1 changed files with 2 additions and 0 deletions
|
|
@ -766,6 +766,8 @@ def s_style_handle_properties(self, tag, attrs):
|
|||
""" Copy all attributes to a struct.
|
||||
We will later convert them to CSS2
|
||||
"""
|
||||
if self.currentstyle is None:
|
||||
return
|
||||
for key,attr in attrs.items():
|
||||
self.styledict[self.currentstyle][key] = attr
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue