Switch from django-markdown-deux to a pipeline thru markdown for rendering + bleach for sanitising
This commit is contained in:
parent
93be2f5a32
commit
8f8e53bb27
7 changed files with 58 additions and 64 deletions
|
@ -1,4 +1,4 @@
|
|||
{% load humanize markdown_deux_tags %}<article class="card h-entry">
|
||||
{% load humanize markdown %}<article class="card h-entry">
|
||||
<div class="card-body">
|
||||
{% if entry.name %}<h4 class="card-title p-name">{{ entry.name }}</h4>{% endif %}
|
||||
<div class="e-content{% if not entry.name %} p-name{% endif %}">{{ entry.content | markdown }}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue