Skip to content

Commit

Permalink
Merge pull request #3102 from sbwalker/dev
Browse files Browse the repository at this point in the history
fix issue where meta name="description" tags were being excluded from output
  • Loading branch information
sbwalker authored Aug 3, 2023
2 parents d2f594f + 808354e commit 6181772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Client/UI/ThemeBuilder.razor
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
var elements = (">" + content.Replace("\n", "") + "<").Split("><");
foreach (var element in elements)
{
if (!string.IsNullOrEmpty(element) && !element.Contains("script"))
if (!string.IsNullOrEmpty(element) && !element.ToLower().StartsWith("script"))
{
if (!headcontent.Contains("<" + element + ">"))
{
Expand Down

0 comments on commit 6181772

Please sign in to comment.