update parser allow tags

This commit is contained in:
Lucas Ou-Yang 2014-01-23 22:57:56 -08:00
parent 3111a985ba
commit d47fed39b7

View file

@ -163,7 +163,7 @@ class Parser(object):
article_cleaner = Cleaner()
article_cleaner.javascript = True
article_cleaner.style = True
article_cleaner.allow_tags = ['a', 'span', 'p', 'br', 'strong', 'b', 'em']
article_cleaner.allow_tags = ['a', 'span', 'p', 'br', 'strong', 'b']
article_cleaner.remove_unknown_tags = False
return article_cleaner.clean_html(node)