This commit is contained in:
Kovid Goyal 2013-10-26 14:57:03 +05:30
parent 6310c2feac
commit 12a581786b

View File

@ -276,8 +276,8 @@ class TreeBuilder(object):
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