__str__ must return str so can not return safe str
morever, format_html is recommanded by the doc for that usage.
This commit is contained in:
parent
78b2967e19
commit
1e293bd727
2 changed files with 3 additions and 6 deletions
|
@ -34,7 +34,7 @@
|
|||
<div class="panel-heading">
|
||||
<span class="badge"><span class="glyphicon glyphicon-{{ event.glyphicon }}"></span></span>
|
||||
 
|
||||
<a href="{% same_author event.author %}"><b>{{ event.author}}</b></a> {{ event }} {{ event.date|naturaltime }}
|
||||
<a href="{% same_author event.author %}"><b>{{ event.author}}</b></a> {{ event|safe }} {{ event.date|naturaltime }}
|
||||
{% if event.code == event.DESCRIBE %}
|
||||
<div class="pull-right">
|
||||
{% if perm.delete_issue %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue