diff --git a/src/info/templates/info.html b/src/info/templates/info.html index 4441db43..baab8900 100644 --- a/src/info/templates/info.html +++ b/src/info/templates/info.html @@ -57,7 +57,7 @@ Info | {{ block.super }}
-

{{ item.body|commonmark }}

+

{{ item.body|untrustedcommonmark }}

{% endfor %} diff --git a/src/news/templates/news_detail.html b/src/news/templates/news_detail.html index 8cc0c953..3f800508 100644 --- a/src/news/templates/news_detail.html +++ b/src/news/templates/news_detail.html @@ -14,5 +14,5 @@ {% endif %}

{{ news_item.title }} {{ news_item.published_at|date:"Y-m-d" }}

- {{ news_item.content|commonmark }} + {{ news_item.content|trustedcommonmark }} {% endblock %} diff --git a/src/news/templates/news_index.html b/src/news/templates/news_index.html index 6b2760bb..2a7db69b 100644 --- a/src/news/templates/news_index.html +++ b/src/news/templates/news_index.html @@ -13,7 +13,7 @@ News | {{ block.super }}

{{ item.title }} {{ item.published_at|date:"Y-m-d" }}

- {{ item.content|commonmark }} + {{ item.content|trustedcommonmark }} {% if not forloop.last %}
{% endif %} diff --git a/src/program/templates/schedule_event_detail.html b/src/program/templates/schedule_event_detail.html index dd580e80..09f68709 100644 --- a/src/program/templates/schedule_event_detail.html +++ b/src/program/templates/schedule_event_detail.html @@ -17,7 +17,7 @@
{{ event.event_type.name }} {{ event.title }}

- {{ event.abstract|commonmark }} + {{ event.abstract|untrustedcommonmark }}


diff --git a/src/program/templates/speaker_detail.html b/src/program/templates/speaker_detail.html index 5c9798a6..18447a81 100644 --- a/src/program/templates/speaker_detail.html +++ b/src/program/templates/speaker_detail.html @@ -7,7 +7,7 @@
-{{ speaker.biography|commonmark }} +{{ speaker.biography|untrustedcommonmark }}
@@ -21,7 +21,7 @@ {{ event.title }} - {{ event.abstract|commonmark }} + {{ event.abstract|untrustedcommonmark }}

Instances