Merge branch 'ent-12777-export-qr-mete-html-encoding' into 'develop'

Ent 12777 export qr mete html encoding

See merge request artica/pandorafms!6865
This commit is contained in:
Matias Didier 2024-01-23 11:23:33 +00:00
commit 1cce0a3cea
2 changed files with 3 additions and 14 deletions

View File

@ -985,7 +985,7 @@ html_print_table($userManagementTable);
$vcard_data = [];
$vcard_data['version'] = '3.0';
$vcard_data['firstName'] = $user_info['fullname'];
$vcard_data['firstName'] = io_safe_output($user_info['fullname']);
$vcard_data['lastName'] = '';
$vcard_data['middleName'] = '';
$vcard_data['workPhone'] = $user_info['phone'];

View File

@ -2413,22 +2413,11 @@ date: 2018-05-14 15:05:04
});
}
console.log(vCard);
formattedVCardString +=
"FN" + encodingPrefix + ":" + e(formattedName) + nl();
formattedVCardString +=
"N" +
encodingPrefix +
":" +
e(vCard.lastName) +
";" +
e(vCard.firstName) +
";" +
e(vCard.middleName) +
";" +
e(vCard.namePrefix) +
";" +
e(vCard.nameSuffix) +
nl();
"N" + encodingPrefix + ":" + e(vCard.firstName) + nl();
if (vCard.nickname && majorVersion >= 3) {
formattedVCardString +=