diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 09:09:59 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 09:09:59 -0500 |
commit | 52ce808c1b43a9efb55e0186647a801b8a7c23a5 (patch) | |
tree | 1d5a6252ec26a43cd3754ba905d5fc2c732fb943 /beautifulsoup/element.py | |
parent | ec444785a35722778ad188a66fef483cc93d7bbb (diff) |
Added tests of custom lists of empty-element tags.
Diffstat (limited to 'beautifulsoup/element.py')
-rw-r--r-- | beautifulsoup/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/beautifulsoup/element.py b/beautifulsoup/element.py index c0c28d4..a70813d 100644 --- a/beautifulsoup/element.py +++ b/beautifulsoup/element.py @@ -446,7 +446,7 @@ class Tag(PageElement, Entities): # Set up any substitutions, such as the charset in a META tag. self.contains_substitutions = builder.set_up_substitutions(self) - self.can_be_empty_element = (builder.can_be_empty_element(name)) + self.can_be_empty_element = builder.can_be_empty_element(name) @property def is_empty_element(self): |