v0.9.1
-
Exclude a property's trailing semicolon if no value is set.
Example:
event.addProp('ATTENDEE', null, { CN: 'Sample Company', RSVP: 'FALSE:mailto:sample@example.com' }
Now produces this:
ATTENDEE;CN=Sample Company;RSVP=FALSE:mailto:sample@example.com
Instead of this:
ATTENDEE;CN=Sample Company;RSVP=FALSE:mailto:sample@example.com:
(Note the trailing semicolon)