Escapes the text in the erubis templates.