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

View File

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