summaryrefslogtreecommitdiff
path: root/bs4/builder/_htmlparser.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2012-02-21 12:19:56 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2012-02-21 12:19:56 -0500
commit2ccae07967bb15f6bad6ba262411ac47bcbb98e7 (patch)
tree210416dd1fec859500ff4e23e6fced41f1b5e4f9 /bs4/builder/_htmlparser.py
parentfc625b23c7e17b55aee18c8d449c14c13702b937 (diff)
Added nsprefix argument to the tag class.
Diffstat (limited to 'bs4/builder/_htmlparser.py')
-rw-r--r--bs4/builder/_htmlparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/builder/_htmlparser.py b/bs4/builder/_htmlparser.py
index 64dfb27..c307ff8 100644
--- a/bs4/builder/_htmlparser.py
+++ b/bs4/builder/_htmlparser.py
@@ -41,7 +41,7 @@ HTMLPARSER = 'html.parser'
class BeautifulSoupHTMLParser(HTMLParser):
def handle_starttag(self, name, attrs):
# XXX namespace
- self.soup.handle_starttag(name, None, dict(attrs))
+ self.soup.handle_starttag(name, None, None, dict(attrs))
def handle_endtag(self, name):
self.soup.handle_endtag(name)