mirror of https://github.com/apache/superset.git
fix: remove spaces and EOL from nonce attr (#24644)
This commit is contained in:
parent
d2489c5ac7
commit
b809815436
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue