When setting escape_html=true, the following code:
becomes:
<?php echo htmlspecialchars((string) $_smarty_tpl->tpl_vars['foo']->value+$_smarty_tpl->tpl_vars['bar']->value, ENT_QUOTES, 'UTF-8');?>
The code: (string) $a + $b is not correct, maybe it should be (string) ($a + $b).
When setting
escape_html=true, the following code:becomes:
The code:
(string) $a + $bis not correct, maybe it should be(string) ($a + $b).