1.replace替换:

  <#assign name="sdfsfdsa\ndfsafs\n">

  例子:${name?replace("\n","好好")} 输出结果:sdfsfdsa好好dfsafs好好

05-28 12:42