Merge pull request 'Repair BookStack quoting' (#53) from bookstack-quoting into production
All checks were successful
ci/lysergic/push/pipeline Pipeline was successful

Reviewed-on: #53
This commit is contained in:
Georg Pfuetzenreuter 2023-04-30 19:00:05 +02:00
commit 21f8818a52

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 -%}