From 03df90cef02e5a89131226e3c3cca1f135e22aa8 Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Thu, 22 Aug 2024 14:57:48 +0200 Subject: [PATCH] :bug: Fix rendering for envvar defaults quotes were previously escaped, making some envvar default unreadable --- open_api_framework/templates/open_api_framework/env_config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open_api_framework/templates/open_api_framework/env_config.rst b/open_api_framework/templates/open_api_framework/env_config.rst index 31deec4..46b74b4 100644 --- a/open_api_framework/templates/open_api_framework/env_config.rst +++ b/open_api_framework/templates/open_api_framework/env_config.rst @@ -13,7 +13,7 @@ Available environment variables {{group_name}} {{group_name|repeat_char:"-"}} -{% for var in vars %}* ``{{var.name}}``: {% if var.help_text %}{{var.help_text|safe|ensure_endswith:"."}}{% endif %}{% if var.auto_display_default and not var.default|is_undefined %} Defaults to: ``{{var.default|to_str}}``.{% endif %} +{% for var in vars %}* ``{{var.name}}``: {% if var.help_text %}{{var.help_text|safe|ensure_endswith:"."}}{% endif %}{% if var.auto_display_default and not var.default|is_undefined %} Defaults to: ``{{var.default|to_str|safe}}``.{% endif %} {% endfor %} {% endfor %}