def get_markup_filter_display_name():
 name = get_markup_filter_name()
 return {'textile': u'Textile', 'markdown': u'Markdown', 'restructuredtext': u'reStructuredText'}.get(name, u'HTML')

def get_markup_filter_display_name ( ) : name = get_markup_filter_name ( ) return { 'textile' : u'Textile' , 'markdown' : u'Markdown' , 'restructuredtext' : u'reStructuredText' } . get ( name , u'HTML' )
returns a nice version for the current markup filters name .