Skip to content

Commit 0c04f52

Browse files
ChrisJohnsengitster
authored andcommitted
Documentation: asciidoc.conf: fix verse block with block titles
No files use the variant of block-title with verse-block, but such a case would have generated broken docbook XML (<simpara> is not allowed inside <para>). This fixes the potential deviation from valid docbook XML. Testing done with asciidoc 8.3.1 and docbook-xsl 1.74.0. Signed-off-by: Chris Johnsen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dad3211 commit 0c04f52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/asciidoc.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ ifdef::doctype-manpage[]
5959
{title%}<literallayout{id? id="{id}"}>
6060
{title#}<literallayout>
6161
|
62-
</literallayout><simpara></simpara>
62+
</literallayout>
6363
{title#}</para></formalpara>
64+
{title%}<simpara></simpara>
6465
endif::doctype-manpage[]
6566
endif::git-asciidoc-no-roff[]
6667
endif::backend-docbook[]

0 commit comments

Comments
 (0)