Skip to content

Commit 6153c9e

Browse files
authored
[CLI] Fix command generate-doc - handle <para> tags (#1565)
1 parent ea6971e commit 6153c9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Documentation/Extensions/XmlExtensions.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ public static void WriteContentTo(this XElement element, DocumentationWriter wri
9898
}
9999
case XmlTag.Para:
100100
{
101+
if (inlineOnly)
102+
break;
103+
101104
writer.WriteLine();
102105
writer.WriteLine();
103106
WriteContentTo(e, writer);

0 commit comments

Comments
 (0)