Invalid line folding
-
The event-post plugin generates invalid ICS, which apps like ICSx5 fail to parse. Specifically, folding of long lines is not according to the specification because it’s missing a leading space on the new lines. This can be fixed in the eventpost.php by changing line 2654 to:
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 'DESCRIPTION:'.trim(chunk_split($event->post_excerpt."\\n\\n".$event->permalink,?60,?"\n ")),
(i.e. adding a space after the \n)
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Invalid line folding’ is closed to new replies.