mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
fix problem with double encoding html special chars (introduced with rev36141)
This commit is contained in:
parent
752c0cbb7f
commit
85d9e5e4ee
@ -1058,8 +1058,8 @@ class html
|
|||||||
{
|
{
|
||||||
$url = self::link($url,$vars);
|
$url = self::link($url,$vars);
|
||||||
}
|
}
|
||||||
//echo "<p>html::a_href('".htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."</p>";
|
//echo "<p>html::a_href('".self::htmlspecialchars($content)."','$url',".print_r($vars,True).") = ".self::link($url,$vars)."</p>";
|
||||||
return '<a href="'.htmlspecialchars($url).'" '.$options.'>'.$content.'</a>';
|
return '<a href="'.self::htmlspecialchars($url).'" '.$options.'>'.$content.'</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user