fix issue where meta name="description" tags were being excluded from output
This commit is contained in:
parent
fa18467cdd
commit
808354e969
|
@ -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 + ">"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user