mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1543 (Problem converting ODT to LRF)
This commit is contained in:
parent
1ef8964487
commit
bca2a86168
@ -766,6 +766,8 @@ class ODF2XHTML(handler.ContentHandler):
|
||||
""" 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…
x
Reference in New Issue
Block a user