summaryrefslogtreecommitdiff
path: root/Documentation/asciidoc.conf
diff options
context:
space:
mode:
authorChris Johnsen <chris_johnsen@pobox.com>2009-03-27 01:44:04 -0500
committerJunio C Hamano <gitster@pobox.com>2009-03-27 00:33:20 -0700
commit0c04f5273579da4b8308c125b1eb4b8f888bffab (patch)
tree29bf097e1377c3a73c0a6d20a85f03caaa79fe76 /Documentation/asciidoc.conf
parentdad3211503e2760a0e704b3c617849ba298a76e7 (diff)
downloadgit-0c04f5273579da4b8308c125b1eb4b8f888bffab.tar.gz
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 <chris_johnsen@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/asciidoc.conf')
-rw-r--r--Documentation/asciidoc.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf
index 9963f2da81..dc76e7f073 100644
--- a/Documentation/asciidoc.conf
+++ b/Documentation/asciidoc.conf
@@ -59,8 +59,9 @@ ifdef::doctype-manpage[]
{title%}<literallayout{id? id="{id}"}>
{title#}<literallayout>
|
-</literallayout><simpara></simpara>
+</literallayout>
{title#}</para></formalpara>
+{title%}<simpara></simpara>
endif::doctype-manpage[]
endif::git-asciidoc-no-roff[]
endif::backend-docbook[]