about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
-rw-r--r--templates/thread.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 184e06e34101..c8c72d9d2e87 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -28,7 +28,7 @@
             {% for thread in threads -%}
             <a href="/thread/{{ thread.id }}" class="list-group-item list-group-item-action flex-column align-items-start {%- if thread.sticky %} bg-secondary text-white {% endif -%}">
               <div class="d-flex w-100 justify-content-between">
-                <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title }}</h5>
+                <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title | safe }}</h5>
                 <small class="{% if thread.sticky %}text-white{% else %}text-muted{% endif %}">{{ thread.posted }}</small>
               </div>
               <p class="mb-1">Created by {{ thread.author_name }}</p>
diff --git a/templates/thread.html b/templates/thread.html
index a34308fe870c..8c7678cf2600 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -8,7 +8,7 @@
     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
     <!-- Custom CSS additions -->
     <style>img { max-width:100%; height:auto; }</style>
-    <title>Converse: {{ title }}</title>
+    <title>Converse: {{ title | safe }}</title>
   </head>
   <body>
     <header>
@@ -23,7 +23,7 @@
     <div class="container">
       <div class="list-group d-flex flex-column">
         <div class="list-group-item d-flex">
-          <h3>{{ title }}</h3>
+          <h3>{{ title | safe }}</h3>
         </div>
 
         {% for post in posts -%}