Skip to content

proper way to encode multi-line location field? #540

Answered by jekuer
pleasantone asked this question in Q&A
Discussion options

You must be logged in to vote

As said, line breaks are currently not supported for location at all. The replacements are there to sanitize the input (basically explicitly blocking what you were trying to do 😉). We block any line break intents even earlier in the code.

I tested your case in multiple scenarios. The thing is, even outlook (which would be the main case for ics usage) does not support line breaks within the location, which leads to wrong output.
So, bottom line, unfortunately, we need to reject that part, as it would come with a huge overhead of problems for almost all users (especially since we cannot make sure which tool the user uses to open the ics file), only benefiting a very niche use case. The way …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@pleasantone
Comment options

@pleasantone
Comment options

@jekuer
Comment options

Answer selected by jekuer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants