From 37ae6bb4895176e48d3d638205c2a4738d4b7e1d Mon Sep 17 00:00:00 2001 From: Isaiah-Ambi <112945204+Isaiah-Ambi@users.noreply.github.com> Date: Thu, 19 Oct 2023 19:53:50 +0100 Subject: [PATCH] Update post_detail.html added linebreaks for post detail rendering --- templates/post_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post_detail.html b/templates/post_detail.html index e672195..d45f626 100755 --- a/templates/post_detail.html +++ b/templates/post_detail.html @@ -7,7 +7,7 @@

{% block title %} {{ post.title }} {% endblock title %}

{{ post.author }} | {{ post.created_on }}

-

{{ post.content | safe }}

+

{{ post.content | safe | linebreaks }}

{% block sidebar %} {% include 'sidebar.html' %} {% endblock sidebar %}