From 3728f4d974784578291cf4cd9edffaf215f73597 Mon Sep 17 00:00:00 2001 From: Leonard Richardson Date: Wed, 1 Feb 2012 14:36:05 -0500 Subject: Look for lxml in preference to html5lib. --- bs4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bs4/__init__.py b/bs4/__init__.py index fbe2914..0b3c154 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -69,7 +69,7 @@ class BeautifulSoup(Tag): # If the end-user gives no indication which tree builder they # want, look for one with these features. - DEFAULT_BUILDER_FEATURES = ['html'] + DEFAULT_BUILDER_FEATURES = ['html', 'fast'] # Used when determining whether a text node is all whitespace and # can be replaced with a single space. A text node that contains -- cgit v1.2.3