Added Autoescaping to smarty