Closed tinuola closed 1 month ago
Hi @tinuola ,
This is because we do not support any tags. That the first paragraph seems to work is more of an coincidence. Have a look at the documentation at https://add-to-calendar-button.com/configuration#description - you can use pseudo HTML for this case.
Or check our PRO offering, which makes things way easier and also way more stable (as ics files get built on the server side and stuff).
Go Bruins!
What happened?
When data entered for the
description
parameter contains rich text/HTML tags, only text in between the first set of tags are stripped and rendered in iCal / Apple calendar. All other rich text is ignored. And content entered for thelocation
parameter is somehow also affected and doesn't display either.When I manually strip out the tags from the same data, all the content renders as expect and the location as well.
This behavior does not occur in Google or Microsoft 365--the other calendars in my options list.
I've included screenshots below of the behaviors, as well as the sample data used for testing.
Thanks.
How to reproduce?
Data used in the code: Contains two sets of
p
tags and three new line tags; the first set ofp
tags is removed; all content after that is ignored and not rendered in the calendarScreenshots & more
When description contains rich text tags, only a portion of the description content is displayed in the calendar; location is not displayed:
When description contains no rich text tags, all description content is display in the calendar and the location is displayed:
System & Environment