Fix Lines not delimited by CRLF sequence near line # 1 error (part2)

This commit is contained in:
savvasha
2019-01-28 15:25:06 +02:00
parent 968f3e6435
commit b5dbf613d6

View File

@@ -29,7 +29,7 @@ $timezone = sanitize_option( 'timezone_string', get_option( 'timezone_string' )
// Get the URL
$url = add_query_arg( 'feed', 'sp-ical', get_post_permalink( $post ) );
$url = wordwrap( $url , 60, "\n\t", true );
$url = wordwrap( $url , 60, "\r\n\t", true );
$output =
"BEGIN:VCALENDAR\r\n" .