mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:04:26 +02:00
oops
This commit is contained in:
parent
6310c2feac
commit
12a581786b
1 changed files with 2 additions and 2 deletions
|
|
@ -276,8 +276,8 @@ def apply_html_attributes(self, attrs):
|
|||
|
||||
def apply_body_attributes(self, attrs):
|
||||
for attr, value in attrs.items():
|
||||
if attr not in self.tree.openElements[1].attributes:
|
||||
self.tree.openElements[1].attributes[attr] = value
|
||||
if attr not in self.openElements[1].attributes:
|
||||
self.openElements[1].attributes[attr] = value
|
||||
|
||||
def _getInsertFromTable(self):
|
||||
return self._insertFromTable
|
||||
|
|
|
|||
Loading…
Reference in a new issue