Civicrm uses outdated Smarty library
This issue from the old Jira tracker seems to have gotten lost along the way (can't find it in this issue queue):
https://issues.civicrm.org/jira/browse/CRM-16428
It would be great to have the Smarty template library upgraded to v3.