We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76135f commit b107d16Copy full SHA for b107d16
src/HtmlAgilityPack.Shared/HtmlNode.cs
@@ -913,7 +913,7 @@ public static bool IsOverlappedClosingElement(string text)
913
}
914
915
// min is </x>: 4
916
- if (text.Length <= 4)
+ if (text.Length < 4)
917
return false;
918
919
if ((text[0] != '<') ||
@@ -2833,4 +2833,4 @@ private bool IsEmpty(IEnumerable en)
2833
2834
#endregion
2835
2836
-}
+}
0 commit comments