Closed yasmanets closed 1 year ago
@enesser I believe this PR would fix an issue we are running into as well. Could we get this merged and a new release out there?
@enesser Having this problem as well. Social links do not work and appear as @charset=utf-8 on IOS.
It looks like vCardFormatter.js has been updated since @yasmanets commit because my file is slightly different, with an encodingPrefix in my version.
if (vCard.socialUrls) { for (var key in vCard.socialUrls) { if (vCard.socialUrls.hasOwnProperty(key) && vCard.socialUrls[key]) { formattedVCardString += 'X-SOCIALPROFILE' + encodingPrefix + ';TYPE=' + key + ':' + e(vCard.socialUrls[key]) + nl(); } } }
👍
I have fixed the build of
X-SOCIALPROFILE
, using the semicolon the textCHARSET-UTF8
appears in the social network property of the contact, so puttingcolon
instead of thesemicolon
can solve this problem