From 241cd09ca136de9d7d052de1e917a80210df3737 Mon Sep 17 00:00:00 2001 From: Marc Donkers Date: Thu, 11 May 2017 08:56:07 +0100 Subject: [PATCH] Force output to string Forcing the output to string where freemarker can see it as bool, eg. "true" or "false", forcing it to a string seems safe at the location in the template. This will solve the issue I encountered (issue 8) --- src/main/resources/debugscreen.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/debugscreen.ftl b/src/main/resources/debugscreen.ftl index ea8eb9a..2cfc864 100644 --- a/src/main/resources/debugscreen.ftl +++ b/src/main/resources/debugscreen.ftl @@ -104,7 +104,7 @@ <#list data?keys as k>
${k}
-
${data[k]}
+
${data[k]?string}