From 480cd0b8209353204a47483118705a65adbe7516 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Thu, 28 May 2015 23:38:20 +0100 Subject: [PATCH] Add appropriate linebreaks #130. Issue #130 details how it is only in notes. Inadvertantly, this has also been fixed for item descriptions. --- RIGS/templates/RIGS/version_changes.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/RIGS/templates/RIGS/version_changes.html b/RIGS/templates/RIGS/version_changes.html index 4b4721c2..33f8c839 100644 --- a/RIGS/templates/RIGS/version_changes.html +++ b/RIGS/templates/RIGS/version_changes.html @@ -2,8 +2,8 @@ @@ -14,8 +14,8 @@ {% for change in itemChange.changes %}

{{ change.field.verbose_name }}

- {% if change.new %}
{{change.new}}
{% endif %} - {% if change.old %}
{{change.old}}
{% endif %} + {% if change.new %}
{{change.new|linebreaksbr}}
{% endif %} + {% if change.old %}
{{change.old|linebreaksbr}}
{% endif %} {% endfor %}