Escape characters within freemarker tags