diff --git a/templates/milliways.tpl b/templates/milliways.tpl
index 4b4fd24703a22834c012a957eabaec3fc3813158..70c7b53564f2f657e815c80756dc75877283cc23 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>