日期:2014-05-17  浏览次数:20537 次

freemarker 去除html,空格标记

<#assign summary=summary?replace("<.*?>","","r")>;
<#assign summary=summary?replace("&nbsp;","")>;
<#assign summary=summary?replace(" ","")>;