summaryrefslogtreecommitdiff
path: root/chimere/templates/welcome.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/welcome.html')
-rw-r--r--chimere/templates/welcome.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/chimere/templates/welcome.html b/chimere/templates/welcome.html
index 8206c18..d568851 100644
--- a/chimere/templates/welcome.html
+++ b/chimere/templates/welcome.html
@@ -1,4 +1,5 @@
{% load i18n %}
+{% load sanitize %}
<div id='welcome' {% if not display %}style='display:None'{%endif%}>
<h2>{% trans "Welcome to Chimère"%}</h2>
<div id='detail_content'>
@@ -12,7 +13,7 @@
{% else %}
<h3>{{news.name}} &ndash; {{ news.start_date }}{% if news.end_date %} - {{ news.end_date }}{% endif %}</h3>
{% for property in news.getProperties %}
- <p id='{{news.propertymodel.getNamedId}}'>{{ property.value|safe }}</p>
+ <p id='{{news.propertymodel.getNamedId}}'>{{ property.value|sanitize:"p b a:href ul li ol h1 h2 h3 h4"|safe }}</p>
{% endfor %}
<p class='marker_link'><a href='{{ news.get_absolute_url }}'>{% trans "See it on the map"%}</a></p>
{% endif %}