kewisch / gdata-provider

Provider for Google Calendar
https://addons.thunderbird.net/thunderbird/addon/provider-for-google-calendar/
Other
237 stars 31 forks source link

Line breaks in the event description are replaced with <br> tags when saving events #661

Closed k-risc closed 9 months ago

k-risc commented 9 months ago

Describe the problem and steps to reproduce it:

(Please include as many details as possible.)

What happened?

When creating and saving event, line breaks in the event's description text are replaced with
tags. For events in other calenders, not using gdata-provider, this does not happen.

What did you expect to happen?

Line breaks to stay line breaks. know?

Anything else we should know?

Screenshot 2023-10-03 203311

k-risc commented 9 months ago

P.S.: also other parts of the layout of the description are saved as readable HTML code, e.g. ul/li. Maybe an escaping problem.

Thunderbird definitely did changes to the event description field with one of the latest updates. The description had the issue that I needed to press the return key more than twice in order to get two line breaks (which started when they enabled formatted text in the description field).

Since the last update, this line break issue does not occur any more, a single press of the Return key is enough. But no, the issue explained here occurs. It does not occur for calenders which are provided by Thunderbird itself.

kewisch commented 9 months ago

"Fixed" this in 1b494e010928b5a61401b27e7ec866b8e37c4a54, thanks for the report. HTML between Thunderbird and Google Calendar is a mess. Google Calendar has one field for both HTML and plain text descriptions and is even inconsistent in their own GUI. The best we can do is detect HTML in the description and then assume it is HTML.

k-risc commented 8 months ago

Thanks very much for the fast reply. May I ask: Are there any plans to publish a new official build soon-ish? ;)