@@ -49,7 +49,7 @@ |
||
49 | 49 | $text = str_replace(["<br>\r", "<BR>\r", "<br />\r", "<BR />\r"], self::RFC2455_LITERAL_NEWLINE, $text); |
50 | 50 | // Split the text into separate lines |
51 | 51 | $lines = explode(self::RFC2455_EOL, $text); |
52 | - foreach ($lines as $key => $line) { |
|
52 | + foreach ($lines as $key => $line) { |
|
53 | 53 | $result .= $this->icalSplit('', $line) . self::RFC2455_EOL; |
54 | 54 | } |
55 | 55 |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | $result = ''; |
46 | 46 | // Normalize the line breaks |
47 | 47 | $text = str_replace(["\n", "\r\r\n"], self::RFC2455_EOL, $text); |
48 | - $text = str_replace(["</p>\r", "</P>\r"], self::RFC2455_LITERAL_NEWLINE.self::RFC2455_LITERAL_NEWLINE, $text); |
|
48 | + $text = str_replace(["</p>\r", "</P>\r"], self::RFC2455_LITERAL_NEWLINE . self::RFC2455_LITERAL_NEWLINE, $text); |
|
49 | 49 | $text = str_replace(["<br>\r", "<BR>\r", "<br />\r", "<BR />\r"], self::RFC2455_LITERAL_NEWLINE, $text); |
50 | 50 | // Split the text into separate lines |
51 | 51 | $lines = explode(self::RFC2455_EOL, $text); |
@@ -98,6 +98,6 @@ discard block |
||
98 | 98 | $lines[] = $value; |
99 | 99 | } |
100 | 100 | |
101 | - return implode(self::RFC2455_EOL.self::RFC2455_TAB, $lines); |
|
101 | + return implode(self::RFC2455_EOL . self::RFC2455_TAB, $lines); |
|
102 | 102 | } |
103 | 103 | } |