From 8ad5b53786da71616a8413aea9e60d69f133f061 Mon Sep 17 00:00:00 2001 From: Joris Baum Date: Mon, 10 Jan 2022 14:28:40 +0100 Subject: [PATCH] Also handle \; ..looks like this was forgotten. --- includes/ical.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ical.php b/includes/ical.php index 6712bb6..6a874d1 100644 --- a/includes/ical.php +++ b/includes/ical.php @@ -503,7 +503,7 @@ function __construct($data = "", $maxevents = 1000000, $startevent = 0) { //$data = str_replace(array("\n ", "\n "),"!?", $data); $data = str_replace(array("\n ", "\n "),"", $data); // replace special iCal chars - $data = str_replace(array("\\\\","\,"),array("\\",","), $data); + $data = str_replace(array("\\\\","\,","\;"),array("\\",",",";"), $data); // parse each line $lines = explode("\n", $data);