diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2012-04-18 14:44:36 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2012-04-18 14:44:36 -0400 |
commit | 2261264fb5b4cc8a9095a1b14a92b52258e8029e (patch) | |
tree | 263695b2abe0043bcd3a699b45001ed2ae7f64b8 /bs4/builder/_html5lib.py | |
parent | 7b9d05ec019d59575a0280c6e109e794e142f8cf (diff) |
Got rid of contains_substitutions.
Diffstat (limited to 'bs4/builder/_html5lib.py')
-rw-r--r-- | bs4/builder/_html5lib.py | 4 |
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): |