diff gpp/news/views.py @ 9:b3b11edf91d8

News: removed the lxml stuff. Based on Jacob Kaplan-Moss suggestion, use html5lib to clean html. Added that functionality in a new core.html module.
author Brian Neal <bgneal@gmail.com>
date Sun, 12 Apr 2009 02:03:03 +0000
parents dbd703f7d63a
children 62eb9cbbcffc
line wrap: on
line diff
--- a/gpp/news/views.py	Sun Apr 12 00:34:08 2009 +0000
+++ b/gpp/news/views.py	Sun Apr 12 02:03:03 2009 +0000
@@ -18,7 +18,7 @@
 from tagging.models import Tag
 from tagging.models import TaggedItem
 
-from core.functions import clean_html
+from core.html import clean_html
 from core.functions import send_mail
 from core.functions import get_full_name
 from core.paginator import DiggPaginator