mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
makeing <href></href> clickable again
This commit is contained in:
parent
29292e3cbb
commit
aa07efc01d
@ -598,9 +598,9 @@ class groupdav extends HTTP_WebDAV_Server
|
|||||||
}
|
}
|
||||||
$value = htmlspecialchars(array2string($value));
|
$value = htmlspecialchars(array2string($value));
|
||||||
}
|
}
|
||||||
elseif (preg_match('/^https?:\/\//',$value))
|
elseif (preg_match('/\<(D:)?href\>[^<]+\<\/(D:)?href\>/i',$value))
|
||||||
{
|
{
|
||||||
$value = html::a_href($value,$value);
|
$value = preg_replace('/\<(D:)?href\>([^<]+)\<\/(D:)?href\>/i','<\\1href><a href="\\2">\\2</a></\\3href><br />',$value);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user