mirror of
https://github.com/YGGverse/mb.git
synced 2026-03-31 17:15:28 +00:00
add linebreaksbr | safe filters
This commit is contained in:
parent
84070fbedc
commit
c8551a8cdb
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
<div>
|
<div>
|
||||||
<a name="{{ post.id }}"></a>
|
<a name="{{ post.id }}"></a>
|
||||||
<p>{{ post.message }}</p>
|
<p>{{ post.message | linebreaksbr | safe }}</p>
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{ post.href.post }}" title="Created">{{ post.time }}</a></li>
|
<li><a href="{{ post.href.post }}" title="Created">{{ post.time }}</a></li>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div>
|
<div>
|
||||||
<a name="{{ post.id }}"></a>
|
<a name="{{ post.id }}"></a>
|
||||||
<p>{{ post.message }}</p>
|
<p>{{ post.message | linebreaksbr | safe }}</p>
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{{ post.href.post }}" title="Created">{{ post.time }}</a></li>
|
<li><a href="{{ post.href.post }}" title="Created">{{ post.time }}</a></li>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue