def _sanitize_html(source):
 return TAG_PATTERN.sub(_sanitize_tag, source)

def _sanitize_html ( source ) : return TAG_PATTERN . sub ( _sanitize_tag , source )
return source with all non-allowed tags removed .