Fix issue with notes with newlines not being imported to Evernote #7

Merged
kcereru merged 1 commits from master into master 2020-11-23 06:33:59 +01:00
+1 -1
View File
@@ -14,7 +14,7 @@ def text_from_html(title, text):
temp_text = text.replace(title + '\n\n \n\n', '') temp_text = text.replace(title + '\n\n \n\n', '')
# Parse to html # Parse to html
temp_text = html.escape(temp_text) temp_text = html.escape(temp_text)
temp_text = temp_text.replace('\n', '<br>') temp_text = temp_text.replace('\n', '<br />')
return temp_text return temp_text
final_file = ''' final_file = '''