diff --git a/src/HtmlAgilityPack.Shared/HtmlDocument.cs b/src/HtmlAgilityPack.Shared/HtmlDocument.cs index 3958b7e5..2b0eb91e 100644 --- a/src/HtmlAgilityPack.Shared/HtmlDocument.cs +++ b/src/HtmlAgilityPack.Shared/HtmlDocument.cs @@ -1942,9 +1942,6 @@ private bool IsParentExplicitEnd() case "p": isExplicitEnd = nodeName == "div"; break; - case "span": - isExplicitEnd = nodeName == "div"; - break; case "table": isExplicitEnd = nodeName == "table"; break;