Merge remote-tracking branch 'oqtane/dev' into dev

This commit is contained in:
Leigh Pointer
2023-05-23 17:19:25 +02:00

View File

@ -65,6 +65,8 @@
}
private string AddHeadContent(string headcontent, string content)
{
if (!string.IsNullOrEmpty(content))
{
// format head content, remove scripts, and filter duplicate elements
var elements = (">" + content.Replace("\n", "") + "<").Split("><");
@ -78,6 +80,7 @@
}
}
}
}
return headcontent;
}