aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-21 17:07:16 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-21 17:07:16 -0700
commit3ec6a431b62c20952f07f889acfeedd0ac456d04 (patch)
tree262f6e43f71709012d8dbd4a2b7f4745f5277731 /include/event.php
parentdb9a0282c4a5b9efba2beb194f6551082c315ea9 (diff)
downloadvolse-hubzilla-3ec6a431b62c20952f07f889acfeedd0ac456d04.tar.gz
volse-hubzilla-3ec6a431b62c20952f07f889acfeedd0ac456d04.tar.bz2
volse-hubzilla-3ec6a431b62c20952f07f889acfeedd0ac456d04.zip
ics calendar export - commas need to be escaped
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php2
1 files changed, 1 insertions, 1 deletions
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));
}