From 53ed1bfc49a14b17f86af3f1a0009417ea840d72 Mon Sep 17 00:00:00 2001 From: Lindsay Hill Date: Tue, 7 May 2019 08:35:36 -0700 Subject: [PATCH] Improve rendering of default lists (#56041) --- docs/templates/plugin.rst.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates/plugin.rst.j2 b/docs/templates/plugin.rst.j2 index 7cff52726f..9166e62226 100644 --- a/docs/templates/plugin.rst.j2 +++ b/docs/templates/plugin.rst.j2 @@ -155,7 +155,7 @@ Parameters {% endif %} {# Show default value, when multiple choice or no choices #} {% if value.default is defined and value.default not in value.choices %} - Default:
@{ value.default | escape }@
+ Default:
@{ value.default | tojson | escape }@
{% endif %} {# configuration #}