Move HTML escaped chars to freemarker