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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -