Merge pull request #474 from Wurstfried/pubFirstParentOfType

Make Inline.FirstParentOfType public
This commit is contained in:
Alexandre Mutel
2020-10-03 07:20:20 +02:00
committed by GitHub

View File

@@ -224,7 +224,7 @@ namespace Markdig.Syntax.Inlines
}
}
internal T FirstParentOfType<T>() where T : Inline
public T FirstParentOfType<T>() where T : Inline
{
var inline = this;
while (inline != null)