playing with nl2br pint message
This commit is contained in:
@@ -54,6 +54,7 @@ def textify(html):
|
||||
return text_only.replace('\n ', '\n').strip()
|
||||
|
||||
def newlinetobr(html):
|
||||
html = html.replace('\n\n','<br>')
|
||||
return html.replace('\n','<br>')
|
||||
|
||||
def send_template_email(from_email,to_email,subject,
|
||||
|
||||
Reference in New Issue
Block a user