From a516f497c1a23682eaebce97ae123c5a9acc9872 Mon Sep 17 00:00:00 2001 From: Christian Dresen <c.dresen@fh-muenster.de> Date: Sat, 24 Sep 2016 03:42:59 +0200 Subject: [PATCH] [WarpMain] added nl2br --- www/web/warpmain/templates/warpmain/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/web/warpmain/templates/warpmain/main.html b/www/web/warpmain/templates/warpmain/main.html index fc91f17..c406448 100644 --- a/www/web/warpmain/templates/warpmain/main.html +++ b/www/web/warpmain/templates/warpmain/main.html @@ -30,7 +30,7 @@ <span class="lead">{{ news.title }}</span><div class="pull-right"><a href="/news/delete/{{ news.id }}" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span></a></div> </div> <div class="panel-body"> - {{ news.message }} + {{ news.message|linebreaksbr }} </div> <div class="panel-footer"> {% trans "created_by" %} {{ news.user }} {{ news.created | naturaltime }} -- GitLab