fix problem with double encoding html special chars (introduced with rev36141)

This commit is contained in:
Klaus Leithoff 2011-08-26 08:21:52 +00:00
parent 752c0cbb7f
commit 85d9e5e4ee

View File

@ -1058,8 +1058,8 @@ class html
{
$url = self::link($url,$vars);
}
//echo "<p>html::a_href('".htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."</p>";
return '<a href="'.htmlspecialchars($url).'" '.$options.'>'.$content.'</a>';
//echo "<p>html::a_href('".self::htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."</p>";
return '<a href="'.self::htmlspecialchars($url).'" '.$options.'>'.$content.'</a>';
}
/**