lpil / icalendar

🗓️ A small library for reading and writing ICalendar files.
MIT License
103 stars 56 forks source link

Problems with encoding URLs in description field #17

Closed bitboxer closed 7 years ago

bitboxer commented 7 years ago

I want to create a ical feed that contains an url in the description field, but sadly the resulting file has a corrupt url in it.

Example:

%ICalendar.Event{
  summary: summary,
  dtstart: start,
  dtend:   the_end,
  description: "https://example.com"
}

Sadly the description now contains a damaged url:

DESCRIPTION:https:\example.com

Is there anything I can help to fix this issue?