From e6db3f9d1b5f5fe90e7c1da0e8793898a394a035 Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Tue, 22 Oct 2019 16:45:40 +0300 Subject: [PATCH] Fix newlines inside div tag --- nevernote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nevernote.py b/nevernote.py index 9f73c97..707dad0 100755 --- a/nevernote.py +++ b/nevernote.py @@ -106,7 +106,7 @@ def process_url(url: str, dup_check: bool = False): script_b64 = get_embedded_binary(script_url) script_tag['src'] = script_b64 - write_file(soup.prettify(), soup.title.text, comment=url) + write_file(str(soup), soup.title.text, comment=url) def main():