Repair BookStack quoting #53

Merged
Georg merged 1 commits from bookstack-quoting into production 2023-04-30 19:00:06 +02:00

View File

@ -27,7 +27,7 @@ bookstack_permissions:
{%- if ( mypillar[option] is string and mypillar[option].startswith('$') ) or mypillar[option] is number %} {%- if ( mypillar[option] is string and mypillar[option].startswith('$') ) or mypillar[option] is number %}
{%- set value = mypillar[option] %} {%- set value = mypillar[option] %}
{%- else %} {%- else %}
{%- set value = "\"'" ~ mypillar[option] ~ "\"'" %} {%- set value = "\"'" ~ mypillar[option] ~ "'\"" %}
{%- endif %} {%- endif %}
{{ option | upper }}: {{ value }} {{ option | upper }}: {{ value }}
{%- endif -%} {%- endif -%}