]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add quotes to longurl title
authorEvan Prodromou <evan@prodromou.name>
Fri, 14 Nov 2008 14:22:28 +0000 (09:22 -0500)
committerEvan Prodromou <evan@prodromou.name>
Fri, 14 Nov 2008 14:22:28 +0000 (09:22 -0500)
darcs-hash:20081114142228-84dde-cc4a966817a1977282ef9a6845613ed5ec6c4e88.gz

lib/util.php

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