Commit 3c8685c9 authored by Jan Broer's avatar Jan Broer

Don't strip html tags for book description

Fixes #2
parent c92de6e5
...@@ -17,3 +17,4 @@ a{color: #45b29d}a:hover{color: #444;} ...@@ -17,3 +17,4 @@ a{color: #45b29d}a:hover{color: #444;}
.more-stuff{margin-top: 20px; padding-top: 20px; border-top: 1px solid #ccc} .more-stuff{margin-top: 20px; padding-top: 20px; border-top: 1px solid #ccc}
.more-stuff>li{margin-bottom: 10px;} .more-stuff>li{margin-bottom: 10px;}
.navbar-collapse.in .navbar-nav{margin: 0;} .navbar-collapse.in .navbar-nav{margin: 0;}
span.glyphicon.glyphicon-tags {padding-right: 5px;}
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
{% if entry.comments|length > 0 %} {% if entry.comments|length > 0 %}
<h3>Description:</h3> <h3>Description:</h3>
{{entry.comments[0].text|striptags}} {{entry.comments[0].text|safe}}
{% endif %} {% endif %}
{% if g.user.is_authenticated() %} {% if g.user.is_authenticated() %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment