From: <jon...@us...> - 2009-11-22 18:43:16
|
Revision: 23436 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=23436&view=rev Author: jonnybradley Date: 2009-11-22 18:43:06 +0000 (Sun, 22 Nov 2009) Log Message: ----------- [FIX] XHTML: Convert HTML entities for title attribute Modified Paths: -------------- branches/4.x/lib/tikihelplib.php Modified: branches/4.x/lib/tikihelplib.php =================================================================== --- branches/4.x/lib/tikihelplib.php 2009-11-22 18:32:38 UTC (rev 23435) +++ branches/4.x/lib/tikihelplib.php 2009-11-22 18:43:06 UTC (rev 23436) @@ -41,7 +41,7 @@ if ($prefs['feature_help'] == 'y' and $url) { if (!isset($desc)) $desc = tra('Help link'); - $ret = '<a title="'.$desc.'" href="' + $ret = '<a title="'.htmlentities($desc).'" href="' .$prefs['helpurl'].$url.'" target="tikihelp" class="tikihelp">' .'<img src="pics/icons/help.png"' .' border="0" height="16" width="16" alt="'.tra('Help','',true).'" /></a>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |