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

This commit is contained in:
Klaus Leithoff 2011-08-26 08:37:12 +00:00
parent 364483c8df
commit d6574654c1

View File

@ -1146,8 +1146,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>';
}
/**