CSP: Add nonce to slide view inline JS
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<link rel="stylesheet" href="<%- url %>/css/slide.css">
|
||||
|
||||
<!-- Printing and PDF exports -->
|
||||
<script>
|
||||
<script nonce="<%= cspNonce %>">
|
||||
var link = document.createElement( 'link' );
|
||||
link.rel = 'stylesheet';
|
||||
link.type = 'text/css';
|
||||
|
||||
Reference in New Issue
Block a user