You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course, this can be fixed easily by the client itself and in the sample case, there is no need to use non-breakable spaces. But you know, not everybody is a nerd ;-)
Importing the same event into Thunderbird or the Linux cinnamon calendar just keeps the non-breaking space as is.
Steps to Reproduce
Use Libreoffcie writer and write some text with non-breakable spaces (CTRL+SPACE)
copy the text into a nextcloud calendar event
import the nextcloud calendar via ICS with ics-parser
The text was updated successfully, but these errors were encountered:
PHP Version
8.2.15
PHP date.timezone
Europe/Berlin
ICS Parser Version
3.3.1 / master
Operating System
Linux
Description
If an event contains a non-breakable space (
\xA0
) in theDESCRIPTION
, this space will be removed by ics-parser. This happens inremovePrintableCharacters
in https://github.com/u01jmg3/ics-parser/blob/master/src/ICal/ICal.php#L2463.I wonder, why this is done and why this space is not replaced by an ordinary space instead?
A Sample ICS-File is this:
E6F2B1A6-D81E-4BAB-9680-97CCB60AFB78.ics.txt
The resulting description is
Of course, this can be fixed easily by the client itself and in the sample case, there is no need to use non-breakable spaces. But you know, not everybody is a nerd ;-)
Importing the same event into Thunderbird or the Linux cinnamon calendar just keeps the non-breaking space as is.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: