escape javascript properly.
escape javascript properly.

code from Smarty's modifier.escape.php

Olvikolvi/smarty-gettext,smarty-gettext/smarty-gettext,fenghuilee/smarty-gettext,Olvikolvi/smarty-gettext,smarty-gettext/smarty-gettext,fenghuilee/smarty-gettext