diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 19:39:31 -0500 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2011-02-20 19:39:31 -0500 |
commit | 121361b1835a619ae03fce39cb5569f28968f1b0 (patch) | |
tree | 01da66b0c4be7146b37c898b5c617134b9ae4479 /beautifulsoup/builder/_html5lib.py | |
parent | c3090d7e7337f88853fc5371c6d8011eb638c37f (diff) |
Started using the builder registry.
Diffstat (limited to 'beautifulsoup/builder/_html5lib.py')
-rw-r--r-- | beautifulsoup/builder/_html5lib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/beautifulsoup/builder/_html5lib.py b/beautifulsoup/builder/_html5lib.py index 175ea9b..f8a7a40 100644 --- a/beautifulsoup/builder/_html5lib.py +++ b/beautifulsoup/builder/_html5lib.py @@ -5,6 +5,7 @@ __all__ = [ from beautifulsoup.builder import ( PERMISSIVE, HTML, + HTML_5, HTMLTreeBuilder, ) import html5lib @@ -20,7 +21,7 @@ from beautifulsoup.element import ( class HTML5TreeBuilder(HTMLTreeBuilder): """Use html5lib to build a tree.""" - features = ['html5lib', PERMISSIVE, HTML] + features = ['html5lib', PERMISSIVE, HTML_5, HTML] def prepare_markup(self, markup, user_specified_encoding): # Store the user-specified encoding for use later on. |