Skip to content

Commit 11d6105

Browse files
Add new public property "OriginalOuterLength"
1 parent 84cea56 commit 11d6105

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/HtmlAgilityPack.Shared/HtmlNode.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,14 @@ public int OuterLength
589589
get { return OuterHtml.Length; }
590590
}
591591

592+
/// <summary>
593+
/// Gets the original outer length. The Current "OuterLength" property return the "OuterHtml.Length" which might contains a different value.
594+
/// </summary>
595+
public int OriginalOuterLength
596+
{
597+
get { return _outerlength; }
598+
}
599+
592600
/// <summary>
593601
/// Gets or sets this node's name.
594602
/// </summary>

0 commit comments

Comments
 (0)