diff --git a/templates/downloads/productlist.html b/templates/downloads/productlist.html index 0ef90a95..02439d7b 100644 --- a/templates/downloads/productlist.html +++ b/templates/downloads/productlist.html @@ -22,7 +22,7 @@ - {{product.description|markdown}} + {{product.description|markdown:"safe"}} {{product.licencetype}} {{product.price}} {{product.org.name}} diff --git a/templates/events/archive.html b/templates/events/archive.html index 1959c65b..69999c31 100644 --- a/templates/events/archive.html +++ b/templates/events/archive.html @@ -29,7 +29,7 @@ whatsoever.
Location: {{event.locationstring}}
{%if event.language%}
Language: {{event.language}}
{%endif%}
-{{event.summary|markdown}} +{{event.summary|markdown:"safe"}}
{%endfor%} {%if not archive%} diff --git a/templates/events/item.html b/templates/events/item.html index c4ab8cde..3b9f5158 100644 --- a/templates/events/item.html +++ b/templates/events/item.html @@ -6,7 +6,7 @@
Date: {{obj.displaydate|safe}}
Location: {{obj.locationstring}}
{%if obj.language%}
Language: {{obj.language}}
{%endif%} -{{obj.details|markdown}} +{{obj.details|markdown:"safe"}} {%if obj.has_organisation%}

Posted by {{obj.org}}{%if obj.org.email%} ({{obj.org.email}}){%endif%}.

{%else%} diff --git a/templates/events/rss_description.html b/templates/events/rss_description.html index bfeb12fe..0d58f2cf 100644 --- a/templates/events/rss_description.html +++ b/templates/events/rss_description.html @@ -1,2 +1,2 @@ {%load markup%} -{{obj.summary|markdown}} +{{obj.summary|markdown:"safe"}} diff --git a/templates/news/item.html b/templates/news/item.html index 66addc19..bb5a8e2f 100644 --- a/templates/news/item.html +++ b/templates/news/item.html @@ -4,7 +4,7 @@ {%block contents%}

{{obj.title}}

Posted on {{obj.displaydate}}{% if obj.org.name != '_migrated' %} by {{ obj.org.name }}{% endif %}
-{{obj.content|markdown}} +{{obj.content|markdown:"safe"}} {%if obj.is_migrated%}

This post has been migrated from a previous version of the PostgreSQL website. We apologise for any formatting issues caused by the migration.

diff --git a/templates/news/newsarchive.html b/templates/news/newsarchive.html index 484ff6b2..b687c9dd 100644 --- a/templates/news/newsarchive.html +++ b/templates/news/newsarchive.html @@ -11,7 +11,7 @@ {%for obj in news %}

{{obj.title}}

Posted on {{obj.displaydate}}{% if obj.org.name != '_migrated' %} by {{ obj.org.name }}{% endif %}
-{{obj.content|markdown|striptags|truncatewords:20}} +{{obj.content|markdown:"safe"|striptags|truncatewords:20}}

Read more...

{%endfor%}

Submit news

diff --git a/templates/news/rss_description.html b/templates/news/rss_description.html index 31d7d836..e4ac2947 100644 --- a/templates/news/rss_description.html +++ b/templates/news/rss_description.html @@ -1,2 +1,2 @@ {%load markup%} -{{obj.content|markdown}} +{{obj.content|markdown:"safe"}}