diff --git a/Oqtane.Client/UI/Head.razor b/Oqtane.Client/UI/Head.razor index d1435cc3e..3f59e2d46 100644 --- a/Oqtane.Client/UI/Head.razor +++ b/Oqtane.Client/UI/Head.razor @@ -49,15 +49,15 @@ private string RemoveScripts(string headcontent) { - if (!string.IsNullOrEmpty(headcontent)) - { - var index = headcontent.IndexOf("= 0) - { - headcontent = headcontent.Remove(index, headcontent.IndexOf("") + 9 - index); - index = headcontent.IndexOf("= 0) + // { + // headcontent = headcontent.Remove(index, headcontent.IndexOf("") + 9 - index); + // index = headcontent.IndexOf("= 0) { var element = content.Substring(index, content.IndexOf(">", index) - index + 1); - if (!string.IsNullOrEmpty(element) && !element.ToLower().StartsWith("