ical.js icon indicating copy to clipboard operation
ical.js copied to clipboard

rrule parse exit

Open narenpublic opened this issue 8 years ago • 1 comments

line 1446 in rrule.js causes the parser to die if attr is empty. Seems like it should gracefully skip over that.

narenpublic avatar Oct 21 '16 21:10 narenpublic

The issue is any line in ical with a semi colon at the end. Instead of modifying rrule, node-ical.js can have this added at line 30

rule = rule.replace(/\;$/, '');

narenpublic avatar Oct 22 '16 01:10 narenpublic