<td>{% for event in gap.before %}{% if not loop.first %}<br/>{% endif %}<spanclass="text-nowrap">{{ event.title or event.name }}</span>{% endfor %}</td>
<td>{% for event in gap.after %}{% if not loop.first %}<br/>{% endif %}<spanclass="text-nowrap">{{ event.title or event.name }}</span>{% endfor %}</td>