php - smarty not display text with double quotes -
i using smarty template. fetching 1 issue rendering. have 1 variable value of variable
this text" data
but when print value in tpl file prints this text
except
this text" data
why happening? please in advance
in smarty can escape data using {$variable|escape:'format'}
in case format of html should trick
{$variable|escape:html}
ref: http://smarty.net/docsv2/en/language.modifier.escape.tpl
Comments
Post a Comment