Skip to content

Commit

Permalink
fixed templates newline issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Sep 27, 2024
1 parent d2f14ce commit 52b8a1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/template/index.b
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
}
}
Expand Down

0 comments on commit 52b8a1a

Please sign in to comment.