summaryrefslogtreecommitdiff
path: root/bs4/__init__.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2016-07-17 10:09:30 -0400
committerLeonard Richardson <leonardr@segfault.org>2016-07-17 10:09:30 -0400
commitdfe49a14ef02589d96953434fb9aeab7da5ccb30 (patch)
tree17e36c1aeb5fa23f26baa8410c08ec775541609b /bs4/__init__.py
parent2f8e5257bcf679a3ebdd6ad47967f2a61f8ebc74 (diff)
Use known_xml instead of continually adding underscores to is_xml.
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r--bs4/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py
index 80b6d93..37993ce 100644
--- a/bs4/__init__.py
+++ b/bs4/__init__.py
@@ -182,6 +182,7 @@ class BeautifulSoup(Tag):
self.builder = builder
self.is_xml = builder.is_xml
+ self.known_xml = self.is_xml
self.builder.soup = self
self.parse_only = parse_only