It works if we downgrade Freemarker to 2.3.28 as in R18 and even using 2.3.29, not 2.3.30. Handles things at the Groovy level, ie put in context, rather than creating in Freemarker template. It's backported, even if it's not a pb but in trunk, because it's a (low) security issue.