hi, I've had an iCal export setup working fine for several years. I have an org-agenda-custom-commands defined with: (org-agenda-start-day "2022-09-01") (org-agenda-span 120) ;; number of days (org-agenda-include-diary nil)) Recently (not sure when) the ics output came out malformed and a newline is omitted between the end of one event and the beginning of another: END:VEVENT BEGIN:VEVENT is now END:VEVENTBEGIN:VEVENT I can't figure out wha the pattern is, for some events the output is correct. This is on Org mode version 9.7-pre release_9.6.8-719-gf299fb and emacs 29.1 best, /Henrik