Render comment linebreaks properly.

This commit is contained in:
Casper V. Kristensen 2020-04-21 03:06:42 +02:00
parent 0a5be5d2be
commit be63e62637
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -104,7 +104,7 @@
<strong>{{ comment.user.main.name }}</strong> <small class="text-muted">&middot; {{ comment.date_created }}</small> <strong>{{ comment.user.main.name }}</strong> <small class="text-muted">&middot; {{ comment.date_created }}</small>
</p> </p>
<p class="card-text"> <p class="card-text">
{{ comment.body }} {{ comment.body | linebreaksbr }}
</p> </p>
</div> </div>
</div> </div>