summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-01-17 13:03:02 +0100
committerLeif Johansson <leifj@sunet.se>2012-01-17 13:03:02 +0100
commite731b576555ff67821b83c18470169a39a57772e (patch)
tree8e05633bac35f5306d60ed21d2292b109e61a1f4 /src/meetingtools/apps/room
parentf29d6c0b5e3aa1084e84aa04f2ee9b983d88afc1 (diff)
even better tag separation
Diffstat (limited to 'src/meetingtools/apps/room')
-rw-r--r--src/meetingtools/apps/room/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index 8bd3f2d..2c86e00 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -466,7 +466,7 @@ def tag(request,rid):
if request.method == 'POST':
form = TagRoomForm(request.POST)
if form.is_valid():
- for tag in form.cleaned_data['tag'].split('[,\s]+'):
+ for tag in form.cleaned_data['tag'].split('[, \t\n]+'):
tag = tag.strip()
ok,reason = _can_tag(request,tag)
if ok: