#NEWLINE# def format_help( self , description ) : #NEWLINE# #INDENT# "\n        Format the setting's description into HTML.\n        " #NEWLINE# for bold in ( '``' , '*' ) : #NEWLINE# #INDENT# parts = [ ] #NEWLINE# if ( description is None ) : #NEWLINE# #INDENT# description = '' #NEWLINE# #UNINDENT# for ( i , s ) in enumerate ( description . split ( s ) ) : #NEWLINE# #INDENT# parts . append ( ( s if ( ( i % 2 ) == 0 ) else ( '<b>%s</b>' % s ) ) ) #NEWLINE# #UNINDENT# description = '' . join ( parts ) #NEWLINE# #UNINDENT# description = urlize ( description , autoescape = False ) #NEWLINE# return mark_safe ( description . replace ( '\n' , '<br>' ) )