Vcards - tokens & other rendering
It turns out we render html vcards for event locations in our emails - eg.
Upstairs
London,
I'm not sure if this is
a) good - it's super helpful or b) bad - it's copy & paste from our front end pages & lands us in the spam folder
I am hoping people will weigh in on the question of whether vcard html in email is desirable or not because making code do something silly more effectively is about 78 on my list of priorities.
If the former then I think we want to do it in a more standardised way than the dragon-code that currently does it.
I found a library https://github.com/jeroendesloovere/vcard @colemanw also suggested an api calculated field (similar to contribution.paid_amount) although it could be tricky - see https://github.com/civicrm/civicrm-core/pull/26296#issuecomment-1561001040
We would want it to be an option for the token - ie regardless of whether there is a use case for the vcard in emails there is a use case for use to format addresses with line breaks.