update template html for escape character