[Freemarker] escape html时要注意空值问题 Leave a Comment / Java / May 11, 2010 May 11, 2010 <#escape x as x?html> 还不够,因为它不能对付x为空的问题。更保险的写法是 <#escape x as (x!)?html>