Skip to content

Commit 037ed33

Browse files
committed
Fixed bleach NoneType issue on /attendances/
1 parent c6af99a commit 037ed33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pombola/south_africa/templates/south_africa/person_attendances.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ <h2>Committee Meetings Attended</h2>
2222
<span class="meeting-date">{{ meeting.date }}</span>
2323
</p>
2424
<div class="meeting-summary">
25+
{% if meeting.summary %}
2526
{{ meeting.summary|bleach|truncatewords_html:50 }}
27+
{% endif %}
2628
</div>
2729
</li>
2830

0 commit comments

Comments
 (0)