From 422e058606cdcf44fefb05a0f1bcb5f9661c790a Mon Sep 17 00:00:00 2001 From: guillaumebarat Date: Fri, 11 Oct 2024 09:56:16 +1000 Subject: [PATCH] fix #183 add space before line break in ICAL document --- lib.php | 2 +- version.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib.php b/lib.php index e4ca059..fd9d58d 100644 --- a/lib.php +++ b/lib.php @@ -3148,7 +3148,7 @@ function facetoface_ical_escape($text, $converthtml=false) { ); // Text should be wordwrapped at 75 octets, and there should be one whitespace after the newline that does the wrapping. - $text = wordwrap($text, 75, "\n ", true); + $text = wordwrap($text, 75, " \n ", true); return $text; } diff --git a/version.php b/version.php index f5e6a48..e34faf9 100644 --- a/version.php +++ b/version.php @@ -30,8 +30,8 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2024090600; -$plugin->release = 2024090600; +$plugin->version = 2024101100; +$plugin->release = 2024101100; $plugin->requires = 2023100900; // Requires 4.3. $plugin->component = 'mod_facetoface'; $plugin->maturity = MATURITY_STABLE;