Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9285cd
)
MDL-49032 lib/bennu: use HTAB only when folding lines
author
Joby Harding
<joby@77gears.com>
Thu, 20 Aug 2015 09:29:16 +0000
(10:29 +0100)
committer
Eloy Lafuente (stronk7)
<stronk7@moodle.org>
Tue, 15 Sep 2015 22:45:51 +0000
(
00:45
+0200)
lib/bennu/iCalendar_rfc2445.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/bennu/iCalendar_rfc2445.php
b/lib/bennu/iCalendar_rfc2445.php
index
53fdd8a
..
8392eed
100644
(file)
--- a/
lib/bennu/iCalendar_rfc2445.php
+++ b/
lib/bennu/iCalendar_rfc2445.php
@@
-79,7
+79,7
@@
function rfc2445_fold($string) {
/* Add the portion to the return value, terminating with CRLF.HTAB
As per RFC 2445, CRLF.HTAB will be replaced by the processor of the
data */
- $retval .= $section
.RFC2445_CRLF.RFC2445_WSP
;
+ $retval .= $section
. RFC2445_CRLF . substr(RFC2445_WSP, 0, 1)
;
$i++;
}