From dba2f8b71d9f3d5a93d31c7f02941876d6a2a4e7 Mon Sep 17 00:00:00 2001 From: Graham Cole <chckens@sucs.org> Date: Mon, 4 May 2009 22:17:13 +0000 Subject: [PATCH] escape things which will make xml parsers choke --- templates/milliways.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/milliways.tpl b/templates/milliways.tpl index 4b4fd24..70c7b53 100644 --- a/templates/milliways.tpl +++ b/templates/milliways.tpl @@ -15,7 +15,7 @@ <h3><a href="{$mwpath}/URI">Recent URIs</a></h3> <ul> {foreach name=list from=$urilist item=uri} - <li style="white-space: nowrap">{$uri.user} <small><a href="{$uri.url}" title="{$uri.title}">{$uri.title|truncate:18:"..":true:false}</a></small></li> + <li style="white-space: nowrap"><a href="{$uri.url|escape:"html"}" title="{$uri.title|escape:"html"}">{$uri.title|truncate:28:"..":true:false|escape:"html"}</a></li> {/foreach} </ul> </div> -- GitLab