]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/notifications/base.html
removing the smart_str function from the html.objelink function argument, it causes...
[osqa.git] / forum / skins / default / templates / notifications / base.html
index ca1f5f64cf4a09704e4b8dbf62f9001fde812f10..18ac9db273633cf12e2321ec8de644d366ca76ac 100644 (file)
@@ -1,8 +1,8 @@
 {% load extra_filters extra_tags i18n email_tags %}
 
 {% declare %}
-    p_style = settings.EMAIL_PARAGRAPH_STYLE
-    a_style = settings.EMAIL_ANCHOR_STYLE
+    p_style = smart_str(settings.EMAIL_PARAGRAPH_STYLE)
+    a_style = smart_str(settings.EMAIL_ANCHOR_STYLE)
     hr_style = "color:#ccc;border:0;height:1px;background-color:#ccc;margin-bottom:20px;"
     small_style = "color:#333333;font-family:'Lucida Grande', Trebuchet, Helvetica, sans-serif;font-size:12px;"
     table_style = "border:20px %s solid;margin:10px auto 10px auto;width:750px;text-align:left;" % settings.EMAIL_BORDER_COLOR