summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLindsay Hill <lindsay.k.hill@gmail.com>2019-05-07 08:35:36 -0700
committerAlicia Cozine <879121+acozine@users.noreply.github.com>2019-05-07 10:35:36 -0500
commit53ed1bfc49a14b17f86af3f1a0009417ea840d72 (patch)
treebcf7f9ff07058e992d5236068221e9424aa8c76e
parent9c5745ad2133549c7fcdd21411c98c7223e19200 (diff)
downloadansible-53ed1bfc49a14b17f86af3f1a0009417ea840d72.tar.gz
Improve rendering of default lists (#56041)
-rw-r--r--docs/templates/plugin.rst.j22
1 files changed, 1 insertions, 1 deletions
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 %}
- <b>Default:</b><br/><div style="color: blue">@{ value.default | escape }@</div>
+ <b>Default:</b><br/><div style="color: blue">@{ value.default | tojson | escape }@</div>
{% endif %}
</td>
{# configuration #}