From 37de1b9e069ce1a44073c2f2e32a156a5009fa97 Mon Sep 17 00:00:00 2001 From: Bryan Date: Fri, 17 Jan 2014 12:35:00 -0500 Subject: [PATCH] workaround because beautifulsoup breaks pdf2html prettifulness --- karmaworld/apps/notes/gdrive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/karmaworld/apps/notes/gdrive.py b/karmaworld/apps/notes/gdrive.py index 6ad9f38..f39ab95 100644 --- a/karmaworld/apps/notes/gdrive.py +++ b/karmaworld/apps/notes/gdrive.py @@ -225,8 +225,8 @@ def convert_raw_document(raw_document, user=None, session_key=None): html = pdf2html(content_dict['pdf']) elif 'html' in content_dict and content_dict['html']: html = content_dict['html'] - # cleanup the HTML - html = note.filter_html(html) + # cleanup the HTML + html = note.filter_html(html) # upload the HTML file to static host if it is not already there note.send_to_s3(html, do_save=False) -- 2.25.1