Support HTML in the site-wide notice
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 02 Mar 2009 19:47:04 +0000
changeset 1591 7ddd92a3702c
parent 1590 8fe571a8538f
child 1592 4465cda55182
Support HTML in the site-wide notice Patch by: Sverre Rabbelier
app/soc/templates/soc/base.html
--- a/app/soc/templates/soc/base.html	Mon Mar 02 18:30:00 2009 +0000
+++ b/app/soc/templates/soc/base.html	Mon Mar 02 19:47:04 2009 +0000
@@ -116,7 +116,7 @@
           <td>
           <div class="notice">
           <div class="rounded_ul"><div class="rounded_ur"><div class="rounded_ll"><div class="rounded_lr">
-          <div style="padding: 5px 10px;"><b>{{ site_notice }}</b></div>
+          <div style="padding: 5px 10px;"><b>{{ site_notice|safe }}</b></div>
           </div></div></div></div>
           </div>
           <td>
@@ -210,7 +210,7 @@
    <div style="line-height: 140%;">
   {% block body %}
   {% if body_content %}
-  {{ body_content }}
+  {{ body_content|safe }}
   {% else %}
   &lt;Missing Page Body&gt;
   {% endif %}