Skip to content

Commit 1b061ab

Browse files
committed
fix: update nonce assignment in liteYouTube script for proper JSON formatting
1 parent cccff54 commit 1b061ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/base_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
Must run before the deferred lite-youtube module upgrades the
7171
element.
7272
-->
73-
<script nonce="{{ csp_nonce }}">window.liteYouTubeNonce = "{{ csp_nonce }}";</script>
73+
<script nonce="{{ csp_nonce }}">window.liteYouTubeNonce = {{ csp_nonce | tojson }};</script>
7474

7575
{% block extra_metatags %}{% endblock %}
7676

0 commit comments

Comments
 (0)