escape smarty variables
Merge pull request #346 from lunika/dev

escape smarty variables