#NEWLINE# def format_freshdesk_ticket_creation_message( ticket ) : #NEWLINE# #INDENT# cleaned_description = convert_html_to_markdown ( ticket . description ) #NEWLINE# content = ( '%s <%s> created [ticket #%s](%s):\n\n' % ( ticket . requester_name , ticket . requester_email , ticket . id , ticket . url ) ) #NEWLINE# content += ( '~~~ quote\n%s\n~~~\n\n' % ( cleaned_description , ) ) #NEWLINE# content += ( 'Type: **%s**\nPriority: **%s**\nStatus: **%s**' % ( ticket . type , ticket . priority , ticket . status ) ) #NEWLINE# return cleaned_description