htmlentities to all assigned variables

From: Date: Wed, 15 Jan 2003 17:59:50 +0000
Subject: htmlentities to all assigned variables
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7197@lists.php.net to get a copy of this message
Hi! I have a following problem: I need to apply htmlentities() function to all assigned variables. I know I can use {$AnyVar|escape} but for this I need to remake a huge template's files. I tried to find any solution with plugins, but I couldn't. Now I have several solution but none of them not looks good. For example I can make Smarty child class and overload assign() function. Anybody have any ideas? Thanks, Alex.

« previous php.smarty.general (#7197) next »