add quotes to longurl title

darcs-hash:20081114142228-84dde-cc4a966817a1977282ef9a6845613ed5ec6c4e88.gz
This commit is contained in:
Evan Prodromou 2008-11-14 09:22:28 -05:00
parent 5976d2b202
commit e5abdb06fc

View File

@ -746,7 +746,7 @@ function common_render_uri_thingy($matches) {
} }
if ($longurl = common_longurl($uri)) { if ($longurl = common_longurl($uri)) {
$longurl = htmlentities($longurl, ENT_QUOTES, 'UTF-8'); $longurl = htmlentities($longurl, ENT_QUOTES, 'UTF-8');
$title = " title=$longurl"; $title = " title='$longurl'";
} }
else $title = ''; else $title = '';