summaryrefslogtreecommitdiff
path: root/bs4/builder/_lxml.py
diff options
context:
space:
mode:
Diffstat (limited to 'bs4/builder/_lxml.py')
-rw-r--r--bs4/builder/_lxml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/builder/_lxml.py b/bs4/builder/_lxml.py
index f718ed1..8638c59 100644
--- a/bs4/builder/_lxml.py
+++ b/bs4/builder/_lxml.py
@@ -65,7 +65,7 @@ class LXMLTreeBuilderForXML(TreeBuilder):
:return: A 3-tuple (markup, original encoding, encoding
declared within markup).
"""
- if isinstance(markup, unicode):
+ if isinstance(markup, unicode) or True:
return markup, None, None, False
try_encodings = [user_specified_encoding, document_declared_encoding]