From 3ec6a431b62c20952f07f889acfeedd0ac456d04 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 21 Jul 2015 17:07:16 -0700 Subject: ics calendar export - commas need to be escaped --- 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 0b1e56ae2..db604cc6a 100644 --- a/include/event.php +++ b/include/event.php @@ -100,7 +100,7 @@ function format_ical_text($s) { require_once('include/bbcode.php'); require_once('include/html2plain.php'); - return(wordwrap(html2plain(bbcode($s)),72,"\n ",true)); + return(wordwrap(str_replace(',','\\,',html2plain(bbcode($s))),72,"\n ",true)); } -- cgit v1.2.3