diff --git a/speedparser/speedparser.py b/speedparser/speedparser.py index 14c0245..4c74834 100644 --- a/speedparser/speedparser.py +++ b/speedparser/speedparser.py @@ -576,7 +576,7 @@ def __init__(self, content, cleaner=default_cleaner, unix_timestamp=False, encod self.unix_timestamp = unix_timestamp if self.xmlns and '#' in self.xmlns: self.xmlns = self.xmlns.strip('#') - parser = etree.XMLParser(recover=True) + parser = etree.XMLParser(recover=True, resolve_entities=False) tree = etree.fromstring(content, parser=parser) if isinstance(tree, etree._ElementTree): self.tree = tree