fixing thymeleaf processing for custom dialects