Merge remote-tracking branch 'oqtane/dev' into dev
This commit is contained in:
commit
6668c8ff66
@ -65,6 +65,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
private string AddHeadContent(string headcontent, string content)
|
private string AddHeadContent(string headcontent, string content)
|
||||||
|
{
|
||||||
|
if (!string.IsNullOrEmpty(content))
|
||||||
{
|
{
|
||||||
// format head content, remove scripts, and filter duplicate elements
|
// format head content, remove scripts, and filter duplicate elements
|
||||||
var elements = (">" + content.Replace("\n", "") + "<").Split("><");
|
var elements = (">" + content.Replace("\n", "") + "<").Split("><");
|
||||||
@ -78,6 +80,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return headcontent;
|
return headcontent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user