ranguard / text-vcard

Perl package to edit and create vCard(s) (RFC 2426)
22 stars 15 forks source link

Wrong order in export() #7

Closed cyberratz closed 10 years ago

cyberratz commented 10 years ago

If using the export() function, the VERSION String is not directly after BEGIN:VCARD. The result is that Android for instance is not able to import them.

I'm on it. Thinking about hardcodeing it but make it changeable, as it is a mandantory field.

ranguard commented 10 years ago

Great - just drop me a pull request

kablamo commented 10 years ago

The order is correct in Text::vCard->as_string(). However, Text::vCard::AddressBook->export() does it own thing and doesn't call Text::vCard->as_string(). I'm working on some patches that will fix this.

ranguard commented 10 years ago

Should be fixed by #12 - please test if possible - @kablamo is doing a few other changes in the next day or so, after which I'll do a release