From 121361b1835a619ae03fce39cb5569f28968f1b0 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Sun, 20 Feb 2011 19:39:31 -0500 Subject: Started using the builder registry. --- beautifulsoup/builder/_html5lib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'beautifulsoup/builder/_html5lib.py') 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. -- cgit v1.2.3