]> BookStack Code Mirror - bookstack/blobdiff - resources/views/common/custom-head.blade.php
Started application of CSP headers
[bookstack] / resources / views / common / custom-head.blade.php
index fa5ba0cc456333776de144372098e68fc7f3fe65..3199fc179d2f6d5b79550abf65384ef47ad897eb 100644 (file)
@@ -1,5 +1,5 @@
 @if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
 <!-- Custom user content -->
-{!! setting('app-custom-head') !!}
+{!! \BookStack\Util\HtmlNonceApplicator::apply(setting('app-custom-head'), $cspNonce) !!}
 <!-- End custom user content -->
 @endif
\ No newline at end of file