Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page

Commit 779885f9 authored by redmatrix's avatar redmatrix

fix vevent multi-line formatting

parent 3affb2e8
......@@ -183,7 +183,9 @@ function format_ical_text($s) {
return(wordwrap(str_replace(array(',',';','\\'),array('\\,','\\;','\\\\'),html2plain(bbcode($s))),72,"\r\n ",true));
$s = html2plain(bbcode($s));
$s = str_replace(["\r\n","\n"],["",""],$s);
return(wordwrap(str_replace(['\\',',',';'],['\\\\','\\,','\\;'],$s),72,"\r\n ",true));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment