From 197e5406481368393ea20eab5d1ea2e411b3ba0b Mon Sep 17 00:00:00 2001 From: imma Date: Thu, 21 May 2020 16:13:09 +0200 Subject: [PATCH] escape also titles --- standard-notes-to-enex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/standard-notes-to-enex.py b/standard-notes-to-enex.py index bf8151c..d77eb44 100755 --- a/standard-notes-to-enex.py +++ b/standard-notes-to-enex.py @@ -24,6 +24,7 @@ final_file = ''' for key, item in enumerate(data['items']): if 'title' in item['content'] and 'text' in item['content']: title = item['content']['title'] + title = html.escape(title) text = item['content']['text'] text = text_from_html(title, text) final_file += '''{title}{text}]]>20171228T194130Z20171228T194141Z0'''.format(title=title, text=text) -- 2.54.0