Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit f257fa4

Browse files
Vitaliy RodnenkoVitaliy Rodnenko
authored andcommitted
Minor fixes with UTF output
1 parent aa557ee commit f257fa4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

geeknote/editor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ def ENMLtoText(contentENML):
9898
for section in soup.findAll('en-todo'):
9999
section.replace_with('[ ]')
100100

101-
content = html2text.html2text(str(soup))
102101
content = html2text.html2text(str(soup).decode('utf-8'), '', 0)
103102
content = re.sub(r' *\n', os.linesep, content)
104103

0 commit comments

Comments
 (0)