added linebreaksbr filter to comment data field

This commit is contained in:
Iris Lightshard 2020-07-27 06:59:05 -04:00
parent 33c508d1b4
commit 6ba60b2f7d
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -16,7 +16,7 @@
<div class="commentwrapper"> <div class="commentwrapper">
<div class="author">{{ comment.comment_author }}</div> <div class="author">{{ comment.comment_author }}</div>
<div class="datetime">{{ comment.comment_date }}</div> <div class="datetime">{{ comment.comment_date }}</div>
<div class="commentdata">{{ comment.comment_data }}</div> <div class="commentdata">{{ comment.comment_data | linebreaksbr }}</div>
</div> </div>
{% endfor %} {% endfor %}