summaryrefslogtreecommitdiffstats
path: root/forum
diff options
context:
space:
mode:
Diffstat (limited to 'forum')
-rw-r--r--forum/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/views.py b/forum/views.py
index 377e7e8b..08f665f8 100644
--- a/forum/views.py
+++ b/forum/views.py
@@ -267,7 +267,7 @@ def ask(request):
if form.is_valid():
added_at = datetime.datetime.now()
- title = strip_tags(form.cleaned_data['title'])
+ title = strip_tags(form.cleaned_data['title']).strip()
wiki = form.cleaned_data['wiki']
tagnames = form.cleaned_data['tags'].strip()
text = form.cleaned_data['text']