Merge pull request #5 from nhunt3/patch-1

Multi-line description bug
This commit is contained in:
Connor Bode
2016-05-09 09:29:34 -04:00
+1 -1
View File
@@ -163,7 +163,7 @@ var ics = function() {
var calendarEvent = [
'BEGIN:VEVENT',
'CLASS:PUBLIC',
'DESCRIPTION:' + description,
'DESCRIPTION:' + description.replace('\r\n', '\\n'),
'DTSTART:' + start,
'DTEND:' + end,
'DTSTAMP:' + stamp.substring(0, stamp.length - 13).replace(/[-]/g, '') + '000000Z',