def clean_comment(self): data = self.cleaned_data['comment'] return sanitize_html(data, tags='p i strong b u a pre br', attrs='href')
def short_text(value): return sanitize_html(value, tags="i strong b u a")
def short_text(value): return sanitize_html(value, tags='i strong b u a')
def comment_text(value): return sanitize_html(value, tags="p i strong b u a pre br", attrs="href")
def comment_text(value): return sanitize_html(value, tags='p i strong b u a pre br', attrs='href')