2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

Adding <pre> and </pre> to the logbook entry display so that all the paragraphs are not munged into one when displayed. Untested.

This commit is contained in:
Philip Sargent 2020-02-19 21:47:13 +00:00
parent a88f326ee6
commit c1439bed8d

View File

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