diff --git a/aleksis/core/templates/core/index.html b/aleksis/core/templates/core/index.html index b690155f010e932cdb35e80eac639e18fc38bd27..70103f517963f3a9e306e43c9212ac856594b229 100644 --- a/aleksis/core/templates/core/index.html +++ b/aleksis/core/templates/core/index.html @@ -32,7 +32,7 @@ </div> <strong>{{ notification.title }}</strong> - <p>{{ notification.description }}</p> + <p>{{ notification.description|linebreaks }}</p> </div> </div> {% endfor %} diff --git a/aleksis/core/templates/core/notifications.html b/aleksis/core/templates/core/notifications.html index a49bc9e8e2a8ad87041acbf20e79e0486714cde6..499bbcc4c866142ce9062efd75fab039dbd303f6 100644 --- a/aleksis/core/templates/core/notifications.html +++ b/aleksis/core/templates/core/notifications.html @@ -16,7 +16,7 @@ <i class="material-icons left">access_time</i> {{ notification.created }} </p> <p> - {{ notification.description }} + {{ notification.description|linebreaks }} </p> {% if notification.link %} <p> diff --git a/aleksis/core/templates/templated_email/notification.email b/aleksis/core/templates/templated_email/notification.email index 0e5d9bdee3c8bd9ec3df5c9d008ae68d1f274c23..68a3e79570d1ba93013f2287b6d96cf8679a3572 100644 --- a/aleksis/core/templates/templated_email/notification.email +++ b/aleksis/core/templates/templated_email/notification.email @@ -30,7 +30,7 @@ <blockquote> <h5>{{ notification.title }}</h5> - <p>{{ notification.description }}</p> + <p>{{ notification.description|linebreaks }}</p> {% if notification.link %} <a href="{{ notification.link }}">{% trans "More information" %} →</a> {% endif %}