1.bugfix:deal with the line-break symbol in the template;2. add the escape support