{* HTML5: Yes *} {* jQuery: No *} {if !empty($errormsg)} {$errormsg} {/if} {* Smarty 3 has a new auto literal option which is enabled by default. When the { is followed by a space it's not interpreted as smarty delimiter but literal. *}