remove empty lines ics

This commit is contained in:
Andreas Stephanides
2013-12-04 17:40:55 +01:00
parent ff0a484d21
commit 768361581b
2 changed files with 2 additions and 3 deletions

View File

@@ -1,4 +1,3 @@
BEGIN:VCALENDAR BEGIN:VCALENDAR
VERSION:2.0 VERSION:2.0
PRODID:http://www.example.com/calendarapplication/ PRODID:http://www.example.com/calendarapplication/
@@ -7,4 +6,4 @@ X-WR-TIMEZONE:Vienna
<% @calendar.calentries.each do |entry| %> <% @calendar.calentries.each do |entry| %>
<%= render entry %> <%= render entry %>
<% end %> <% end %>
END:VCALENDAR END:VCALENDAR

View File

@@ -8,4 +8,4 @@ CLASS:PUBLIC
DTSTART:<%= calentry.start.strftime "%Y%m%dT%H%M%S" %> DTSTART:<%= calentry.start.strftime "%Y%m%dT%H%M%S" %>
DTEND:<%= calentry.ende.strftime "%Y%m%dT%H%M%S" %> DTEND:<%= calentry.ende.strftime "%Y%m%dT%H%M%S" %>
DTSTAMP:<%= calentry.start.strftime "%Y%m%dT%H%M%S" %> DTSTAMP:<%= calentry.start.strftime "%Y%m%dT%H%M%S" %>
END:VEVENT END:VEVENT