-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
My vards have ';' instead of ':'
I am getting adressbook from iphone...
it is a little sloppy for me to find and replace all ';' with ':' in my vcard data.
Plus it could add a bug because the logic is not 100% correct...
can you please update your regexp to support ';' as well as ':'
I did this quick fix:
Inside the vcard.js
line 261
changed
if (data[f].match(/^(VERSION|FN):/)) {
to
if (data[f].match(/^(VERSION|FN)/)) {
line 275
changed
if (data[f].match(/^N:/)) {
to
if (data[f].match(/^N/)) {
Thanks buddy.
Metadata
Metadata
Assignees
Labels
No labels