# HG changeset patch # User neko259 # Date 2017-10-26 22:42:08 # Node ID 4c766e32d6572ccefb534e31c8fb66f18fb73da9 # Parent 1024ce380f991936d48a0ef127ac95b42fe6ad29 Rendered post should be considered safe diff --git a/boards/templates/boards/all_threads.html b/boards/templates/boards/all_threads.html --- a/boards/templates/boards/all_threads.html +++ b/boards/templates/boards/all_threads.html @@ -15,10 +15,10 @@ {% endif %} {% if prev_page_link %} - + {% endif %} {% if next_page_link %} - + {% endif %} {% endblock %} @@ -32,7 +32,7 @@
{{ banner.title }}
{{ banner.get_text|safe }}
-
{% trans 'Details' %}: >>{{ banner.post.id }}
+
{% trans 'Details' %}: >>{{ banner.post.id }}
{% endfor %} @@ -41,8 +41,8 @@ {% if random_image_post %}
{% with image=random_image_post.get_first_image %} - {{ random_image_post.id }} diff --git a/boards/templates/boards/post.html b/boards/templates/boards/post.html --- a/boards/templates/boards/post.html +++ b/boards/templates/boards/post.html @@ -3,6 +3,7 @@ {% get_current_language as LANGUAGE_CODE %} +{% autoescape off %}
{% endif %}
+{% endautoescape %} \ No newline at end of file