From c1439bed8de835dc5cfcd3b313941c4f253e28f5 Mon Sep 17 00:00:00 2001
From: Philip Sargent <philip.sargent@klebos.com>
Date: Wed, 19 Feb 2020 21:47:13 +0000
Subject: [PATCH] Adding <pre> and </pre> to the logbook entry display so that
 all the paragraphs are not munged into one when displayed. Untested.

---
 templates/dataformat/logbookentry.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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 %}