ical icon indicating copy to clipboard operation
ical copied to clipboard

Parser enforces CRLF

Open emersion opened this issue 5 years ago • 3 comments

Sorry for creating that many issues. I don't expect you to fix them. :P


The parser chokes on inputs which use LF instead of CRLF. While this isn't RFC-compliant (and a formatter should really use CRLF), some existing iCal files in the wild using LF already exist. It would be nice to make the parser more lenient to be able to parse them.

emersion avatar Feb 10 '20 18:02 emersion

I agree, if you can find some example in the wild of ical not properly following the RFC and add it to the fixtures I would be happy to merge it!

luxifer avatar Feb 18 '20 10:02 luxifer

I've hit this when using the Radicale CardDAV server.

emersion avatar Feb 18 '20 10:02 emersion

Got it, as I said, if you can find some example and add it to the fixtures I would be happy to make the necessary changes

luxifer avatar Feb 19 '20 10:02 luxifer