summaryrefslogtreecommitdiff
path: root/templates/event.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/event.html')
-rw-r--r--templates/event.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/event.html b/templates/event.html
index 59d856e..8925842 100644
--- a/templates/event.html
+++ b/templates/event.html
@@ -72,11 +72,12 @@
<textarea name="what" class="desc" required>{{event.description}}</textarea>
<br>
{% else %}
- {{ event.description.replace("\n", "<br>") }}
+ {% for el in event.description.split('\n') %}
+ {{ el }}
<br>
+ {% endfor %}
{% endif %}
- <br>
{% if manage %}
<button>Save changes</button>
<br>