mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
feed.php: hyperlink urls in description and remove an erroneous setDescription
This commit is contained in:
parent
4b4b21ee45
commit
338cb7f35d
@ -158,9 +158,8 @@ function caldav_get_feed( $request ) {
|
||||
if ( $p_description != null && $p_description->Value() != '' ) {
|
||||
$content .= '<br />'
|
||||
.'<br />'
|
||||
.'<strong>' . translate('Description') . '</strong>:<br />' . ( nl2br($p_description->Value()) )
|
||||
.'<strong>' . translate('Description') . '</strong>:<br />' . ( nl2br(hyperlink($p_description->Value())) )
|
||||
;
|
||||
if ( $p_description->Value() != '' ) $item->setDescription($p_description->Value());
|
||||
}
|
||||
|
||||
$item->setContent($content);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user