summaryrefslogtreecommitdiff
path: root/bs4/builder/_html5lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'bs4/builder/_html5lib.py')
-rw-r--r--bs4/builder/_html5lib.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bs4/builder/_html5lib.py b/bs4/builder/_html5lib.py
index b8c2bb6..2d6fe31 100644
--- a/bs4/builder/_html5lib.py
+++ b/bs4/builder/_html5lib.py
@@ -149,9 +149,7 @@ class Element(html5lib.treebuilders._base.Node):
#
# The Tag constructor called this method when the Tag was created,
# but we just set/changed the attributes, so call it again.
- self.element.contains_substitutions = (
- self.soup.builder.set_up_substitutions(
- self.element))
+ self.soup.builder.set_up_substitutions(self.element)
attributes = property(getAttributes, setAttributes)
def insertText(self, data, insertBefore=None):