-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
(dev/core#4160) Convert html special chars to their characters … #25723
Conversation
(Standard links)
|
…in ical file generation
Just noting that the function here (
I don't know enough about the method and its usage to figure if this change is good or bad, but it's probably worth skimming a few of them to gauge |
cc @mlutfy @jensschuppe - Since this might affect |
Thanks for the heads-up, @totten! systopia/de.systopia.eventmessages is currently doing something similar for possibly affected fields: Also, there's #23638 and dev/core#1541 - not sure how much they're related though. |
|
To be honest, So what about providing such a utility method in |
That sounds like a good idea to me, @jensschuppe |
@jensschuppe given #26980 is merged does this mean that this gets closed? Or rewritten? |
Yes, I would say that #26980 replaces this PR, so it can be closed. |
…in ical file generation
Overview
When an event is set to public, the event registration receipt includes a link to download a .ics (ical) file of the event.
This ICS file is generated on the fly, and adds the description of the event to the description field in the .ics. All html tags are stripped from the text, however special chars that have been converted to their html code are not converted back to characters in the .ics.
We need to update the generation of the .ics file to include the conversion of html char code back to characters equivalent.
e.g.
è ; > è
" ; > "
 ; > Â
  ; > [space]
(put the space before ; so that one can see the char code)
etc...
Before
After