Mercurial > hg > chronicle
diff themes/default/month.template @ 115:02f239be7568
Escape links + tags
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Thu, 13 Dec 2007 13:55:18 +0000 |
parents | 7a87c1556a0e |
children | 1b905160e5e4 |
line wrap: on
line diff
--- a/themes/default/month.template Thu Dec 13 13:52:57 2007 +0000 +++ b/themes/default/month.template Thu Dec 13 13:55:18 2007 +0000 @@ -26,7 +26,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' --> @@ -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 --> @@ -74,7 +74,7 @@ <h2>Tags</h2> <ul> <!-- tmpl_loop name='tagcloud' --> - <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --> (<!-- tmpl_var name='count' -->)</a></li> + <li><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' escape='html' -->"><!-- tmpl_var name='tag' escape='html' --> (<!-- tmpl_var name='count' -->)</a></li> <!-- /tmpl_loop --> </ul> <!-- /tmpl_if -->