From bc3248d30172a0b2d31a8dcb0a944b4367d0dd23 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sat, 13 Feb 2010 13:08:46 +0100 Subject: [PATCH] Allow linebreaks in influence description and result. --- templates/influences/influence_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/influences/influence_detail.html b/templates/influences/influence_detail.html index 398b051..3de670a 100644 --- a/templates/influences/influence_detail.html +++ b/templates/influences/influence_detail.html @@ -10,10 +10,10 @@ {% trans "Long term" %}:{{ object.longterm|yesno|capfirst }} {% endif %} -

{{ object.description }}

+

{{ object.description|linebreaks }}

{% if object.result %}

{% trans "Result" %}

-

{{ object.result }}

+

{{ object.result|linebreaks }}

{% endif %}

{% trans "Comments" %}

{% block comments %} -- 2.30.2