diff options
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html index 2b60996..0534de9 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -65,9 +65,14 @@ </div> <div id="col1"> -<div class="logbookentry"> -<b>{{logbookentry.date}}</b> - {{logbookentry.text|wiki_to_html}}</div> + <div class="logbookentry"> + <b>{{logbookentry.date}}</b> + {% if logbookentry.entry_type == "html" %} + <p>{{logbookentry.text|safe}}</p> + {% else %} + {{logbookentry.text|wiki_to_html}} + {% endif %} + </div> </div> </div> |