diff options
-rw-r--r-- | theme/templates/ebook/glossary.html | 12 | ||||
-rw-r--r-- | 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 49e3c13..a9776ad 100644 --- a/theme/templates/ebook/glossary.html +++ b/theme/templates/ebook/glossary.html @@ -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 %} diff --git a/theme/templates/website/glossary.html b/theme/templates/website/glossary.html index aab4f40..ff656cc 100644 --- a/theme/templates/website/glossary.html +++ b/theme/templates/website/glossary.html @@ -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> |