From a322254f2aa02f662667eeb0bdd4e8646cd029c2 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 20 Aug 2015 04:51:03 -0700 Subject: do ical export before checking logged in channel --- include/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/event.php b/include/event.php index 2e24c81e2..95808452d 100644 --- a/include/event.php +++ b/include/event.php @@ -146,7 +146,7 @@ function format_ical_text($s) { require_once('include/bbcode.php'); require_once('include/html2plain.php'); - return(wordwrap(str_replace(',','\\,',html2plain(bbcode($s))),72,"\r\n ",true)); + return(wordwrap(str_replace(array(',',';','\\'),array('\\,','\\;','\\\\'),html2plain(bbcode($s))),72,"\r\n ",true)); } -- cgit v1.2.3