diff themes/blocky/index.template @ 116:cdb525ec06d7

More escaping.
author Steve Kemp <steve@steve.org.uk>
date Thu, 13 Dec 2007 13:57:18 +0000
parents 6e6ccf3fa6ce
children b5fc6377b32e
line wrap: on
line diff
--- a/themes/blocky/index.template	Thu Dec 13 13:55:18 2007 +0000
+++ b/themes/blocky/index.template	Thu Dec 13 13:57:18 2007 +0000
@@ -29,7 +29,7 @@
 
  <!-- tmpl_loop name='entries' -->
  <fieldset>
-   <legend><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a></legend>
+   <legend><a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a></legend>
 
    <div class="body"><!-- tmpl_var name='body' --></div>
 
@@ -43,7 +43,7 @@
    <!-- /tmpl_if -->
 
      <!-- tmpl_if name='tags' -->
-       Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> 
+       Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> 
      <!-- tmpl_else -->
         No tags
      <!-- /tmpl_if --> 
@@ -85,7 +85,7 @@
 <fieldset>
  <legend>Tags</legend>
  <!-- tmpl_loop name='tagcloud' -->
- <span style="font-size: <!-- tmpl_var name='size' -->px"><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --></span>
+ <span style="font-size: <!-- tmpl_var name='size' -->px"><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag'  escape='html' -->"><!-- tmpl_var name='tag' escape='html' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --></span>
 <!-- /tmpl_loop -->
 </fieldset>
 <!-- /tmpl_if -->