diff options
Diffstat (limited to 'beautifulsoup/__init__.py')
-rw-r--r-- | beautifulsoup/__init__.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/beautifulsoup/__init__.py b/beautifulsoup/__init__.py index 922005c..ca32589 100644 --- a/beautifulsoup/__init__.py +++ b/beautifulsoup/__init__.py @@ -106,11 +106,9 @@ class BeautifulSoup(Tag): able to build a tree using 'start tag' events, 'end tag' events, 'data' events, and "done with data" events. - If you encounter a self-closing tag, call handle_starttag and then - handle_endtag, but note that the tag will not be displayed as a - self-closing tag unless you also have your builder's - isSelfClosingTag() implementation return True when passed the tag - name. + If you encounter an empty-element tag (aka a self-closing tag, + like HTML's <br> tag), call handle_starttag and then + handle_endtag. """ ROOT_TAG_NAME = u'[document]' |