We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64e8b0b commit cc9f28aCopy full SHA for cc9f28a
html5lib/treebuilders/_base.py
@@ -276,8 +276,8 @@ def apply_html_attributes(self, attrs):
276
277
def apply_body_attributes(self, attrs):
278
for attr, value in attrs.items():
279
- if attr not in self.tree.openElements[1].attributes:
280
- self.tree.openElements[1].attributes[attr] = value
+ if attr not in self.openElements[1].attributes:
+ self.openElements[1].attributes[attr] = value
281
282
def _getInsertFromTable(self):
283
return self._insertFromTable
0 commit comments