mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:43:39 +02:00
...
This commit is contained in:
parent
d96328a259
commit
df382c177b
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ def find_chars(self, elem):
|
|||
return ans
|
||||
|
||||
def find_usage_in(self, elem, inherited_style):
|
||||
style = self.elem_style(elem.get('class', ''), inherited_style)
|
||||
style = self.elem_style(elem.get('class', '') or '', inherited_style)
|
||||
for child in elem:
|
||||
self.find_usage_in(child, style)
|
||||
font = self.used_font(style)
|
||||
|
|
|
|||
Loading…
Reference in a new issue