#NEWLINE# def _markdown_email_link_sub( match ) : #NEWLINE# #INDENT# ( href , text ) = match . groups ( ) #NEWLINE# href = _xml_escape_re . sub ( _xml_escape_sub , href ) #NEWLINE# text = _xml_escape_re . sub ( _xml_escape_sub , match ) #NEWLINE# return ( '<a href="%s">%s</a>' % ( href , text ) )