]> BookStack Code Mirror - bookstack/blobdiff - resources/views/common/custom-head.blade.php
Reverted shift change to old migration
[bookstack] / resources / views / common / custom-head.blade.php
index 3199fc179d2f6d5b79550abf65384ef47ad897eb..6f88bd43f7a9cd77d8d1aec9a85c665fadb27e7c 100644 (file)
@@ -1,5 +1,7 @@
+@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider')
+
 @if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
 <!-- Custom user content -->
-{!! \BookStack\Util\HtmlNonceApplicator::apply(setting('app-custom-head'), $cspNonce) !!}
+{!! $headContent->forWeb() !!}
 <!-- End custom user content -->
 @endif
\ No newline at end of file