From 01665df2420655c0b901d2e9eb83321806aa6417 Mon Sep 17 00:00:00 2001 From: Denis Walker <dez@sucs.org> Date: Mon, 29 Nov 2010 14:53:30 +0000 Subject: [PATCH] Switch from escape:"html" to escape:"hexentity" on the uri title to prevent XHTML breakage. More work really needs doing to ensure titles going into the database are encoded correctly. --- templates/milliways_uri.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/milliways_uri.tpl b/templates/milliways_uri.tpl index 9fb49fc..aff02e1 100644 --- a/templates/milliways_uri.tpl +++ b/templates/milliways_uri.tpl @@ -32,7 +32,7 @@ Day: {foreach from=$daylist item=day}{if $day != $thisday}<a href="{$mwpath}/uri <td ><a href="{$row.url|escape:"hexentity"}">{$row.url|truncate:80:" ... ":true:true|escape:"html"}</a>{if stristr($row.flags,"nsfw")!==FALSE} (NSFW){/if}</td> </tr> {if $row.title} -<tr><td>{$row.title|escape:"html"}</td></tr> +<tr><td>{$row.title|escape:"hexentity"}</td></tr> {/if} {if count($row.taglist)} <tr> -- GitLab