def filter_wiki(raw):
 text = utils.to_unicode(raw, 'utf8', errors='ignore')
 text = utils.decode_htmlentities(text)
 return remove_markup(text)

def filter_wiki ( raw ) : text = utils . to_unicode ( raw , 'utf8' , errors = 'ignore' ) text = utils . decode_htmlentities ( text ) return remove_markup ( text )
filter out wiki mark-up from raw .