diff --git a/app/views/events/index.ics.erb b/app/views/events/index.ics.erb index f1a26c17..8ca269db 100644 --- a/app/views/events/index.ics.erb +++ b/app/views/events/index.ics.erb @@ -12,7 +12,7 @@ DTEND:<%= event.end_time.strftime '%Y%m%dT%H%M%S' %> UID:<%= event.id %>@agendadulibre.org SUMMARY:<%= event.title %> URL:<%= event_url event %> -DESCRIPTION:<%= strip_tags(event.description).to_crlf.gsub(/,/, '\,').gsub(/;/, '\;').gsub(/\r/, '').gsub /^/, ' ' %> +DESCRIPTION:<%= strip_tags(event.description).to_crlf.gsub(/,/, '","').gsub(/;/, '";"').gsub /^/, ' ' %> LOCATION:<%= event.full_address %> END:VEVENT <% end %>