From cde271fd5b34d53b75923ec2d2309987439408eb Mon Sep 17 00:00:00 2001 From: Shaun Walker Date: Wed, 22 Dec 2021 15:52:31 -0500 Subject: [PATCH] encode PWA Script --- Oqtane.Server/Pages/_Host.cshtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Oqtane.Server/Pages/_Host.cshtml b/Oqtane.Server/Pages/_Host.cshtml index b939f77a..4bdf5c99 100644 --- a/Oqtane.Server/Pages/_Host.cshtml +++ b/Oqtane.Server/Pages/_Host.cshtml @@ -17,7 +17,7 @@ - @Html.Raw(@Model.HeadResources) + @Html.Raw(Model.HeadResources) @(Html.AntiForgeryToken()) @@ -48,8 +48,8 @@ } @if (!string.IsNullOrEmpty(Model.PWAScript)) { - @Model.PWAScript + @Html.Raw(Model.PWAScript) } - @Html.Raw(@Model.BodyResources) + @Html.Raw(Model.BodyResources)