Skip to content

Commit 8c34848

Browse files
Update HtmlNode.cs
1 parent 11d6105 commit 8c34848

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/HtmlAgilityPack.Shared/HtmlNode.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,12 @@ public HtmlAttributeCollection ClosingAttributes
233233
get { return !HasClosingAttributes ? new HtmlAttributeCollection(this) : _endnode.Attributes; }
234234
}
235235

236-
/// <summary>
237-
/// Gets the closing tag of the node, null if the node is self-closing.
238-
/// </summary>
239-
public HtmlNode EndNode
236+
/// <summary>
237+
/// Gets the closing tag of the node.
238+
/// For self-closing nodes, this will reference an internal placeholder
239+
/// that behaves like a null closing tag or might be null.
240+
/// </summary>
241+
public HtmlNode EndNode
240242
{
241243
get { return _endnode; }
242244
}

0 commit comments

Comments
 (0)