From 9ee7ec3d24e214e4ed66aabdbba773e2d7d1b659 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 19 Nov 2009 00:45:58 +0100 Subject: [PATCH] Keep formatting of external event description. --- kronolith/lib/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.0