contact messages are plain text
This commit is contained in:
parent
20007d3416
commit
313cf7e789
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ def contact(request):
|
||||||
'name': name,
|
'name': name,
|
||||||
'email': email,
|
'email': email,
|
||||||
'subject': subject,
|
'subject': subject,
|
||||||
'message': data['message'].strip(),
|
'message': ox.decode_html(data['message']).strip(),
|
||||||
'sitename': settings.SITENAME,
|
'sitename': settings.SITENAME,
|
||||||
'footer': settings.CONFIG['site']['email']['footer'],
|
'footer': settings.CONFIG['site']['email']['footer'],
|
||||||
'url': request.build_absolute_uri('/'),
|
'url': request.build_absolute_uri('/'),
|
||||||
|
|
Loading…
Reference in a new issue