From: Jan Schneider Date: Wed, 18 Nov 2009 23:45:58 +0000 (+0100) Subject: Keep formatting of external event description. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9ee7ec3d24e214e4ed66aabdbba773e2d7d1b659;p=horde.git Keep formatting of external event description. --- diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index 29743a7fe..6b2e1be07 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -2353,7 +2353,7 @@ abstract class Kronolith_Event $link = ''; if (isset($this->external) && !empty($this->external_link)) { $link = $this->external_link; - $link = Horde::linkTooltip(Horde::url($link), '', 'event-tentative', '', '', Horde_String::wrap($this->description)); + $link = Horde::linkTooltip(Horde::url($link), '', 'event-tentative', '', '', nl2br(htmlspecialchars(Horde_String::wrap($this->description)))); } elseif (isset($this->eventID) && $read_permission) { $link = Horde::linkTooltip($view_url, $event_title,