Switch from django-markdown-deux to a pipeline thru markdown for rendering + bleach for sanitising

This commit is contained in:
Danielle McLean 2017-10-26 14:40:29 +11:00
parent 93be2f5a32
commit 8f8e53bb27
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
7 changed files with 58 additions and 64 deletions

View file

@ -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>