Skip to content
Snippets Groups Projects
Commit 9a4709e6 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix calendar export for Apple iCal - i hate bloody line ends

parent c4f5639c
Branches
No related tags found
No related merge requests found
......@@ -49,6 +49,9 @@ class OC_Calendar_Export{
$return .= $object->VEVENT->serialize();
}
$return .= "END:VCALENDAR";
$return = str_replace("\r\n", "\n", $return);
$return = str_replace("\r", "\n", $return);
$return = str_replace("\n", "\r\n", $return);
return $return;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment