From 650a530dc1c5176b6fa865d8fe90a04a548d8c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Wed, 19 Oct 2016 00:09:31 +0200 Subject: [PATCH] program: minor display improvement --- planning/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planning/utils.py b/planning/utils.py index af1a8a3..4872b35 100644 --- a/planning/utils.py +++ b/planning/utils.py @@ -124,12 +124,12 @@ class Program: if event.row != 0: continue options = ' rowspan="%d" bgcolor="%s"' % (event.rowcount, event.talk.event.color) - cellcontent = str(event.talk) + ' — ' + event.talk.get_speakers_str() + cellcontent = escape(str(event.talk)) + '
' + escape(event.talk.get_speakers_str()) + '' elif (i+1 > len(events) or not events[i+1]) and i+1 < self.cols[room]: colspan += 1 continue colspan = 1 - content += cell % {'options': options, 'content': escape(cellcontent)} + content += cell % {'options': options, 'content': mark_safe(cellcontent)} style, timeslot = self._timeslot(day, ts) return row % { 'style': style,