Merge pull request #1335 from matthiasbeyer/imag-contact/list-pretty
imag-contact: Join mails with comma
This commit is contained in:
commit
b374f21d7c
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ pub fn build_data_object_for_handlebars<'a>(i: usize, hash: String, vcard: &Vcar
|
|||
.map(|c| c.raw().clone()).unwrap_or(String::new()));
|
||||
|
||||
data.insert("EMAIL" , vcard.email()
|
||||
.into_iter().map(|c| c.raw().clone()).collect());
|
||||
.into_iter().map(|c| c.raw().clone()).collect::<Vec<_>>().join(", "));
|
||||
|
||||
data.insert("FN" , vcard.fullname()
|
||||
.into_iter().map(|c| c.raw().clone()).collect());
|
||||
|
|
Loading…
Reference in a new issue