diff options
author | cyfraeviolae <cyfraeviolae> | 2024-08-07 23:48:18 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-08-07 23:48:18 -0400 |
commit | 57a67cd565cb9a9159e44cef74c974a23982fa8b (patch) | |
tree | f5c6b02567264d0d2bc58e390cca86a66979ef97 | |
parent | 276a48be4f0069ed7eb449093c1f8ec87ec95b66 (diff) |
repl
-rw-r--r-- | templates/event.html | 5 |
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> |