Fix #609: don't escape html in glossary

This commit is contained in:
Samy Pessé
2015-02-14 11:52:33 +01:00
parent 684440e2d1
commit 959b272e65
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -5,16 +5,16 @@
{% block content %}
<div class="page page-toc">
<h1>Glossary</h1>
{% for item in glossary %}
<section class="normal glossary" id="{{ item.id }}">
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
<p>{{ item.description }}</p>
{% for item in glossary %}
<section class="normal glossary" id="{{ item.id }}">
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
<p>{{ item.description|safe }}</p>
<ul class="glossary-index">
{% for file in item.files %}
<li><a href="{{ basePath }}/{{ file.path|contentLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li>
{% endfor %}
</ul>
</section>
{% endfor %}
</section>
{% endfor %}
</div>
{% endblock %}
+1 -1
View File
@@ -6,7 +6,7 @@
{% for item in glossary %}
<section class="normal glossary" id="{{ item.id }}">
<h2><a href="#{{ item.id }}">{{ item.name }}</a></h2>
<p>{{ item.description }}</p>
<p>{{ item.description|safe }}</p>
<ul class="glossary-index">
{% for file in item.files %}
<li><a href="{{ basePath }}/{{ file.path|contentLink }}"><span class="level">{{ file.level }}.</span> {{ file.title }}</a></li>