jaredlt / add_to_calendar

A ruby gem to generate 'Add To Calendar' URLs for Android, Apple, Google, Office 365, Outlook, Outlook.com and Yahoo calendars
MIT License
85 stars 14 forks source link

Check if double escaped new lines are necessary when generating ical url with description and url #48

Open jaredlt opened 2 months ago

jaredlt commented 2 months ago

In my testing with Hey

AddToCalendar::URLs.new(start_datetime: Time.new(2024,7,12,12,00,00,0), location: "Address", title: "Jared Test", timezone: "Europe/London", url: "https://www.google.com", description: "this is a test description").hey_url

this output a description of

this is a test description\
\
https://www.google.com