about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--templates/search.html2
-rw-r--r--templates/thread.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/search.html b/templates/search.html
index 2254c97f0c25..35193fb61cd2 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -34,7 +34,7 @@
             {% for result in results -%}
             <a href="/thread/{{ result.thread_id }}#post-{{ result.post_id }}" class="list-group-item list-group-item-action flex-column align-items-start">
               <div class="d-flex w-100 justify-content-between">
-                <p class="mb-1">{{ result.headline }}</p>
+                <p class="mb-1">{{ result.headline | safe }}</p>
                 <small class="float-right text-muted"><i>(Posted in '{{ result.title }}' by {{ result.author }})</i></small>
               </div>
             </a>
diff --git a/templates/thread.html b/templates/thread.html
index 826046ce15aa..7c0f852f4cd0 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -33,7 +33,7 @@
             <strong>{{ post.author_name }}</strong>
           </div>
 
-          <div class="align-self-stretch">{{ post.body }}</div>
+          <div class="align-self-stretch">{{ post.body | safe }}</div>
 
           <div class="d-inline-flex flex-column align-items-end ml-auto">
             <a href="/thread/{{ id }}#post-{{ post.id }}" class="ml-auto">