From 5e6511b783388930010e6c0795b197728fb10b39 Mon Sep 17 00:00:00 2001 From: sticky-note Date: Wed, 29 Apr 2020 13:59:53 +1100 Subject: [PATCH] fix(macros): fix `format_kwargs` macro --- postgres/macros.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/macros.jinja b/postgres/macros.jinja index 814f5988..abd2c9c1 100644 --- a/postgres/macros.jinja +++ b/postgres/macros.jinja @@ -4,7 +4,7 @@ {%- filter indent(4) %} {%- for k, v in kwarg|dictsort() %} -- {{ k }}: {{ v }} +- {{ k }}: {{ v|yaml_dquote if v is string else v }} {%- endfor %} {%- endfilter %}