forked from expo/troggle
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:
parent
a88f326ee6
commit
c1439bed8d
@ -1,4 +1,5 @@
|
|||||||
{% autoescape off %}
|
{% autoescape off %}
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<style type="text/css">.author {text-decoration:underline}</style>
|
<style type="text/css">.author {text-decoration:underline}</style>
|
||||||
@ -8,9 +9,9 @@
|
|||||||
<span class="date">{{date}}</span> - <span class="expeditionyear">{{expeditionyear}}</span>
|
<span class="date">{{date}}</span> - <span class="expeditionyear">{{expeditionyear}}</span>
|
||||||
|
|
||||||
{% if trip.caveOrLocation == "cave" %}
|
{% if trip.caveOrLocation == "cave" %}
|
||||||
<span class="cave">{{trip.cave}}</span>
|
<span class="cave"><pre>{{trip.cave}}</pre></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="location">{{trip.location}}</span>
|
<span class="location"><pre>{{trip.location}}</pre></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for person in persons %}
|
{% for person in persons %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user