From 313cf7e789e79f847bf2ebd7eee14f8b577af2f3 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 8 Oct 2013 07:07:04 +0000 Subject: [PATCH] contact messages are plain text --- pandora/user/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/user/views.py b/pandora/user/views.py index 69018d8a8..92a736ef8 100644 --- a/pandora/user/views.py +++ b/pandora/user/views.py @@ -637,7 +637,7 @@ def contact(request): 'name': name, 'email': email, 'subject': subject, - 'message': data['message'].strip(), + 'message': ox.decode_html(data['message']).strip(), 'sitename': settings.SITENAME, 'footer': settings.CONFIG['site']['email']['footer'], 'url': request.build_absolute_uri('/'),