Merge remote-tracking branch 'gitorious/master'

This commit is contained in:
Jef van Schendel
2011-06-21 19:13:07 +02:00
3 changed files with 33 additions and 7 deletions

View File

@@ -373,6 +373,10 @@ HTML_CLEANER = Cleaner(
def clean_html(html):
# clean_html barfs on an empty string
if not html:
return u''
return HTML_CLEANER.clean_html(html)