Page MenuHomePhabricator

Smarty templates failing to render when donor name has an apostrophe
Open, Needs TriagePublic

Event Timeline

We can find and replace these across all message templates (after checking for other cases besides first_name). However, how will this work with the copies of these emails that live on Email's side. @RLopez-WMF do you have thoughts on this? It is likely to be a lot of message templates that need updating.

For the future, we should use {if {contact.first_name|bool}} instead of {if '{contact.first_name}'} and the same for any other conditionals for strings existing.