Merge pull request #3102 from sbwalker/dev
fix issue where meta name="description" tags were being excluded from output
This commit is contained in:
commit
61817726c3
@ -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 + ">"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user