Open bnlucas opened 8 years ago
Some versions of Outlook generate the vCard file using lowercase fields, version: instead of VERSION: which causes vCardigan.parse to not find any fields.
https://github.com/brewster/vcardigan/blob/master/lib/vcardigan/vcard.rb#L32
begin:vcard version:3.0 prodid:Microsoft-MacOutlook/f.1b.0.161010 ... end:vcard
Found that changing begin:vcard to BEGIN:VCARD and and end:vcard to END:VCARD works.
begin:vcard
BEGIN:VCARD
end:vcard
END:VCARD
https://github.com/brewster/vcardigan/blob/master/lib/vcardigan/vcard.rb#L183
Some versions of Outlook generate the vCard file using lowercase fields, version: instead of VERSION: which causes vCardigan.parse to not find any fields.
https://github.com/brewster/vcardigan/blob/master/lib/vcardigan/vcard.rb#L32