diff --git a/libs/template/index.b b/libs/template/index.b index c5a993aa..8797846b 100644 --- a/libs/template/index.b +++ b/libs/template/index.b @@ -737,8 +737,9 @@ class Template { for key, value in data { if value_name for_vars.set('${value_name}', value) if key_name for_vars.set('${key_name}', key) + result.append( - self._process(path, json.decode(json.encode(element)), for_vars) + self._process(path, element, for_vars) ) } }