-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wouldnt support multiline descriptions #4
Comments
Found this too. |
I can get multiline description to work in the .ics file in most browsers except for IE. I just pass the event description to escapeJSValue before the link is generated. But in Internet Explorer it only displays the first line because the encoded newlines become decoded. We may want to look at changing how ieDownloadCalendar() downloads the .ics file on IE.
|
For now I'm doing a check before the .ics link is generated that checks if ieMustDownload is true and then replaces all newlines in the description with a space. At least all of the description text will be there, even though it won't be pretty. And that will only be fore IE, and not the new Edge browser. And most of my visitors use Chrome, Firefox, or Safari anyway.
|
To add multiline descriptions, users need to escape the newlines themselves, like so
https://stackoverflow.com/questions/666929/encoding-newlines-in-ical-files
The text was updated successfully, but these errors were encountered: