diff themes/blog.steve.org.uk/tags.template @ 114:54ed5b4c2ad8

Escape tags + links by defaut
author Steve Kemp <steve@steve.org.uk>
date Thu, 13 Dec 2007 13:52:57 +0000
parents 1dc14df6aac1
children 95458ff7c463
line wrap: on
line diff
--- a/themes/blog.steve.org.uk/tags.template	Thu Dec 13 13:29:24 2007 +0000
+++ b/themes/blog.steve.org.uk/tags.template	Thu Dec 13 13:52:57 2007 +0000
@@ -60,7 +60,7 @@
 <!-- tmpl_loop name='entries' -->
 <div class="entry">
  <div class="title">
- <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->"><!-- tmpl_var name='title' --></a>
+ <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->"><!-- tmpl_var name='title' --></a>
  </div>
  <div class="date">
   <!-- tmpl_var name='date' -->
@@ -75,7 +75,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' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop -->
  <!-- /tmpl_if -->
  </div>
 </div>