diff options
author | Chris Johnsen <chris_johnsen@pobox.com> | 2009-03-27 01:44:04 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-27 00:33:20 -0700 |
commit | 0c04f5273579da4b8308c125b1eb4b8f888bffab (patch) | |
tree | 29bf097e1377c3a73c0a6d20a85f03caaa79fe76 | |
parent | dad3211503e2760a0e704b3c617849ba298a76e7 (diff) | |
download | git-0c04f5273579da4b8308c125b1eb4b8f888bffab.tar.gz git-0c04f5273579da4b8308c125b1eb4b8f888bffab.tar.xz |
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>
-rw-r--r-- | Documentation/asciidoc.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/asciidoc.conf b/Documentation/asciidoc.conf index 9963f2da8..dc76e7f07 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[] |