Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding recovery parameter to OPML parser.

  • Loading branch information...
commit 7e1238f6a656ae3455f43c9079a55a662c25ad34 1 parent 9c0479e
@samuelclay authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 vendor/opml/__init__.py
View
4 vendor/opml/__init__.py
@@ -59,8 +59,8 @@ def __getitem__(self, index):
return self._outlines[index]
def from_string(opml_text):
-
- return Opml(lxml.etree.fromstring(opml_text))
+ parser = lxml.etree.XMLParser(recover=True)
+ return Opml(lxml.etree.fromstring(opml_text, parser))
def parse(opml_url):
Please sign in to comment.
Something went wrong with that request. Please try again.