diff --git a/templates/dataformat/logbookentry.html b/templates/dataformat/logbookentry.html index e6b83ce..875e0ba 100644 --- a/templates/dataformat/logbookentry.html +++ b/templates/dataformat/logbookentry.html @@ -1,4 +1,5 @@ {% autoescape off %} +<!DOCTYPE html> <html> <head> <style type="text/css">.author {text-decoration:underline}</style> @@ -8,9 +9,9 @@ <span class="date">{{date}}</span> - <span class="expeditionyear">{{expeditionyear}}</span> {% if trip.caveOrLocation == "cave" %} -<span class="cave">{{trip.cave}}</span> +<span class="cave"><pre>{{trip.cave}}</pre></span> {% else %} -<span class="location">{{trip.location}}</span> +<span class="location"><pre>{{trip.location}}</pre></span> {% endif %} {% for person in persons %}