Reenabling santize_html now that it works. closes #160
authorBryan Bonvallet <btbonval@gmail.com>
Fri, 20 Dec 2013 00:23:01 +0000 (19:23 -0500)
committerBryan Bonvallet <btbonval@gmail.com>
Fri, 20 Dec 2013 00:23:01 +0000 (19:23 -0500)
karmaworld/apps/notes/gdrive.py

index e38ce3d56f34398c840c7f6459e8829021e4a7c2..a813ed41039e5806cbe7228e4bbcf3e86e339c02 100644 (file)
@@ -181,8 +181,7 @@ def convert_raw_document(raw_document):
     elif 'html' in content_dict and content_dict['html']:
         note.html = content_dict['html']
         # before we save new html, sanitize a tags in note.html
-        #note.sanitize_html(save=False)
-        #FIXME: ^^^ disabled
+        note.sanitize_html(save=False)
 
     note.text = content_dict['text']