Skip to content

Commit

Permalink
Use urlize in incident description rendering #59
Browse files Browse the repository at this point in the history
  • Loading branch information
edigiacomo committed Feb 28, 2022
1 parent 2f7b644 commit 787d8d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h3>{{ incident.occurred|date:"DATE_FORMAT" }}</h3>
<div class="row">
<strong class="col-xs-4 col-md-2">{{ update.get_status_display }}</strong>
<div class="col-xs-8 col-md-10">
<span>{{ update.description|linebreaksbr }}</span>
<span>{{ update.description|urlize|linebreaksbr }}</span>
<small class="timeinfo">{% trans "last update" %} <abbr title="{{ update.modified|date:"r" }}">{{ update.modified|naturaltime }}</abbr></small>
</div>
</div>
Expand Down

0 comments on commit 787d8d7

Please sign in to comment.