aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-11-08 00:15:24 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-11-08 00:15:24 +0100
commit1ab9d17135c87253d9e1531cc31cf1b4ac94eceb (patch)
treeaf0b9ce70643fad3f0a1f7adac6df08179af9984 /templates
parent610003b80cb42c82493517c16b04f5d223c4a21c (diff)
downloadfamille-flask-1ab9d17135c87253d9e1531cc31cf1b4ac94eceb.tar.gz
Also use rst for news content
Diffstat (limited to 'templates')
-rw-r--r--templates/news/list.html2
-rw-r--r--templates/news/show.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/list.html b/templates/news/list.html
index 6ddf85a..ecb0714 100644
--- a/templates/news/list.html
+++ b/templates/news/list.html
@@ -11,7 +11,7 @@
</div>
<div class="news_content">
- {{ news.content }}
+ {{ news.content|safe }}
</div>
{% endfor %}
</div>
diff --git a/templates/news/show.html b/templates/news/show.html
index 459d9a4..35c510f 100644
--- a/templates/news/show.html
+++ b/templates/news/show.html
@@ -13,7 +13,7 @@
<h1>{{news.title}}</h1>
<div class="news_content">
-{{news.content}}
+{{news.content|safe}}
</div>
<hr/>