Browse Source

Adding safe pipe to templates

jeremiewcz 1 year ago
parent
commit
6ac07e1812

+ 1
- 1
app/templates/main_pages/about.html View File

@@ -1,6 +1,6 @@
1 1
 <section>
2 2
     <h2>{{ page.name }}</h2>
3
-    {{ page.description }}
3
+    {{ page.description|safe }}
4 4
 </section>
5 5
 
6 6
 <section id="subscribe">

+ 1
- 1
app/templates/main_pages/agendas.html View File

@@ -6,7 +6,7 @@
6 6
     <p>PLACE : {{ event.place }}</p>
7 7
     <p>FROM {{ event.begin }} TO {{ event.end }}</p>
8 8
     <p>LIVE : {{ event.live_show }}</p>
9
-    <p>{{ event.description }}</p>
9
+    <p>{{ event.description|safe }}</p>
10 10
 </div>
11 11
 {% endfor %}
12 12
 </section>

+ 1
- 1
app/templates/main_pages/contribute.html View File

@@ -1,4 +1,4 @@
1 1
 <section>
2 2
     <h2>{{ page.name }}</h2>
3
-    {{ page.description }}
3
+    {{ page.description|safe }}
4 4
 </section>

Loading…
Cancel
Save