Escaping - How?
Posted: Fri Apr 04, 2008 9:00 pm
I'm using this code within a script:
However, I need to escape any apostrophes that appear in my title and subtitles. Is this possible?
This particular code appears in entries.tpl.
Thanks!
Code: Select all
var DOCUMENTNAME='{$head_title|@default:$blogTitle}{if $head_subtitle} - {$head_subtitle}{/if}';This particular code appears in entries.tpl.
Thanks!