diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/event.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |