aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2009-01-26 03:51:52 +0000
committerJim Hu <jimhu@users.sourceforge.net>2009-01-26 03:51:52 +0000
commit46a025425efdd8f196d17465308f108d8f01992f (patch)
treece44185de16517170067d763f858699d389180b9 /includes
parent9c1ad1c80dbdf3cfa73477437c33fb821a0424b8 (diff)
downloadphpicalendar-46a025425efdd8f196d17465308f108d8f01992f.tar.gz
phpicalendar-46a025425efdd8f196d17465308f108d8f01992f.tar.bz2
phpicalendar-46a025425efdd8f196d17465308f108d8f01992f.zip
fix multiline descriptions
Diffstat (limited to 'includes')
-rw-r--r--includes/event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/event.php b/includes/event.php
index c250e8d..150a0e4 100644
--- a/includes/event.php
+++ b/includes/event.php
@@ -108,7 +108,7 @@ $page->replace_tags(array(
'cal' => $event['calname'],
'event_text' => $event['event_text'],
'event_times' => $event_times,
- 'description' => nl2br($event['description']),
+ 'description' => str_replace('\n',"<br />",$event['description']),
'organizer' => $organizer,
'attendee' => $attendee,
'status' => $event['status'],

© 2014-2022 Faster IT GmbH | imprint | privacy policy