From 6153c9e8e621c85300ceb921c2ed394e080fe26b Mon Sep 17 00:00:00 2001 From: Josef Pihrt Date: Sat, 19 Oct 2024 08:55:11 +0200 Subject: [PATCH] [CLI] Fix command generate-doc - handle tags (#1565) --- src/Documentation/Extensions/XmlExtensions.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Documentation/Extensions/XmlExtensions.cs b/src/Documentation/Extensions/XmlExtensions.cs index 1a54650894..a275397c64 100644 --- a/src/Documentation/Extensions/XmlExtensions.cs +++ b/src/Documentation/Extensions/XmlExtensions.cs @@ -98,6 +98,9 @@ public static void WriteContentTo(this XElement element, DocumentationWriter wri } case XmlTag.Para: { + if (inlineOnly) + break; + writer.WriteLine(); writer.WriteLine(); WriteContentTo(e, writer);