Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
/ XDoc.NET Public archive

Commit ac719cf

Browse files
committed
Update comments
1 parent 961338d commit ac719cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Render/BitzArt.XDoc.PlainText/PlainTextRenderer.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace BitzArt.XDoc.PlainText;
77

88
/// <summary>
99
/// Lightweight renderer that converts XML documentation to plain text.
10-
/// This implementation, can only render the text content of the XML nodes, but not resolve and render references.
10+
/// This implementation can only render the text content of the XML nodes but not resolve and render references.
1111
/// </summary>
1212
public class PlainTextRenderer
1313
{
@@ -117,10 +117,12 @@ private string RenderReference(XmlElement element)
117117
private string RenderDirectInheritance(IMemberDocumentation documentation)
118118
{
119119
var targetDocumentation = documentation.GetInheritanceTargetDocumentation();
120+
120121
if (targetDocumentation is null)
121122
{
122123
return string.Empty;
123124
}
125+
124126
return Render(targetDocumentation);
125127
}
126128

0 commit comments

Comments
 (0)