1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 04:19:59 +00:00

Don't strip html tags for book description

Fixes #2
This commit is contained in:
Jan Broer 2015-10-11 21:30:43 +02:00
parent c92de6e539
commit 3c8685c986
2 changed files with 2 additions and 1 deletions

View File

@ -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>li{margin-bottom: 10px;}
.navbar-collapse.in .navbar-nav{margin: 0;}
span.glyphicon.glyphicon-tags {padding-right: 5px;}

View File

@ -40,7 +40,7 @@
{% if entry.comments|length > 0 %}
<h3>Description:</h3>
{{entry.comments[0].text|striptags}}
{{entry.comments[0].text|safe}}
{% endif %}
{% if g.user.is_authenticated() %}