fix: remove spaces and EOL from nonce attr (#24644)

This commit is contained in:
Daniel Vaz Gaspar 2023-07-10 16:21:45 +01:00 committed by GitHub
parent d2489c5ac7
commit b809815436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -16,8 +16,8 @@
specific language governing permissions and limitations
under the License.
#}
{% macro get_nonce() %}
{% if csp_nonce is defined %}
{{ csp_nonce() }}
{% endif %}
{% endmacro %}
{% macro get_nonce() -%}
{%- if csp_nonce is defined -%}
{{- csp_nonce() -}}
{%- endif %}
{%- endmacro %}