Allow linebreaks in influence description and result.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sat, 13 Feb 2010 12:08:46 +0000 (13:08 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sat, 13 Feb 2010 12:08:46 +0000 (13:08 +0100)
templates/influences/influence_detail.html

index 398b051cdd0b3722c9b2747acedc137ad8b1440b..3de670a6e9eeed14c0ac0d2142acacc96e279916 100644 (file)
 <tr><td>{% trans "Long term" %}:</td><td>{{ object.longterm|yesno|capfirst }}</td></tr>
 {% endif %}
 </table>
-<p>{{ object.description }}</p>
+<p>{{ object.description|linebreaks }}</p>
 {% if object.result %}
 <h2>{% trans "Result" %}</h2>
-<p>{{ object.result }}</p>
+<p>{{ object.result|linebreaks }}</p>
 {% endif %}
 <h2>{% trans "Comments" %}</h2>
 {% block comments %}