From 8cf4d0cb0f2f6c89515ac3c080cbb86c8d8072b1 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 30 Jun 2023 19:32:47 +0200 Subject: [PATCH] Add word-break on forum thread & reply When someone inserts long word, is will break into multiple lines --- system/templates/forum.new_post.html.twig | 4 ++-- system/templates/forum.show_thread.html.twig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/system/templates/forum.new_post.html.twig b/system/templates/forum.new_post.html.twig index 2af93d37..6220cddb 100644 --- a/system/templates/forum.new_post.html.twig +++ b/system/templates/forum.new_post.html.twig @@ -54,7 +54,7 @@ {% set i = 0 %} {% for thread in threads %} - {{ thread.name }}{{ thread.post|raw }} + {{ thread.name }}{{ thread.post|raw }} {% set i = i + 1 %} {% endfor %} - \ No newline at end of file + diff --git a/system/templates/forum.show_thread.html.twig b/system/templates/forum.show_thread.html.twig index e95774ca..80985d43 100644 --- a/system/templates/forum.show_thread.html.twig +++ b/system/templates/forum.show_thread.html.twig @@ -40,7 +40,7 @@ Page: {{ links_to_pages|raw }}

Posts: {{ post.author_posts_count }}
- {{ post.content|raw }} + {{ post.content|raw }} {{ post.date|date('d.m.y H:i:s') }}