From 959b272e65280933d4f3f6a7c1934b45f218a483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Sat, 14 Feb 2015 11:52:33 +0100 Subject: [PATCH] Fix #609: don't escape html in glossary --- theme/templates/ebook/glossary.html | 12 ++++++------ theme/templates/website/glossary.html | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/theme/templates/ebook/glossary.html b/theme/templates/ebook/glossary.html index 49e3c13b3..a9776ad2e 100644 --- a/theme/templates/ebook/glossary.html +++ b/theme/templates/ebook/glossary.html @@ -5,16 +5,16 @@ {% block content %}

Glossary

- {% for item in glossary %} -
-

{{ item.name }}

-

{{ item.description }}

+ {% for item in glossary %} +
+

{{ item.name }}

+

{{ item.description|safe }}

-
- {% endfor %} +
+ {% endfor %}
{% endblock %} diff --git a/theme/templates/website/glossary.html b/theme/templates/website/glossary.html index aab4f4092..ff656cc43 100644 --- a/theme/templates/website/glossary.html +++ b/theme/templates/website/glossary.html @@ -6,7 +6,7 @@ {% for item in glossary %}

{{ item.name }}

-

{{ item.description }}

+

{{ item.description|safe }}