keep tinymce formatting
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<h3>{{ post.title }}</h3>
|
<h3>{{ post.title }}</h3>
|
||||||
<p>{{ post.content|nl2br }}</p>
|
<p>{{ post.content|raw }}</p>
|
||||||
|
|
||||||
<div class="admin-actions">
|
<div class="admin-actions">
|
||||||
<a href="/admin/edit/{{ post.id }}">Éditer</a>
|
<a href="/admin/edit/{{ post.id }}">Éditer</a>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<h2>{{ post.title }}</h2>
|
<h2>{{ post.title }}</h2>
|
||||||
<p>{{ post.content|nl2br }}</p>
|
<p>{{ post.content|raw }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Aucun article publié.</p>
|
<p>Aucun article publié.</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user