summaryrefslogtreecommitdiff
path: root/templates/event.html
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-08-07 23:48:18 -0400
committercyfraeviolae <cyfraeviolae>2024-08-07 23:48:18 -0400
commit57a67cd565cb9a9159e44cef74c974a23982fa8b (patch)
treef5c6b02567264d0d2bc58e390cca86a66979ef97 /templates/event.html
parent276a48be4f0069ed7eb449093c1f8ec87ec95b66 (diff)
repl
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>