show a smarty variable with html content -


i have smarty variable html content in like: $html="<strong>content</strong><br/>etc etc" . try show html-formatted. when showing {$html} plain text appears without formatting. try like: {$html|unescape} tags shown not applied. have suggestions?

you should try this:

{$html|unescape:'html'} 

also check manual:

http://www.smarty.net/docs/en/language.modifier.unescape.tpl


Comments