diff --git a/geeknote/editor.py b/geeknote/editor.py index d7e2853..5b9bbed 100644 --- a/geeknote/editor.py +++ b/geeknote/editor.py @@ -76,7 +76,7 @@ def checklistInENMLtoSoup(soup): @staticmethod def ENMLtoText(contentENML): - soup = BeautifulSoup(contentENML.decode('utf-8')) + soup = BeautifulSoup(contentENML.decode('utf-8'), 'lxml') for section in soup.select('li > p'): section.replace_with( section.contents[0] )