Skip to content

Commit dad3211

Browse files
ChrisJohnsengitster
authored andcommitted
Documentation: asciidoc.conf: always use <literallayout> for [blocktext]
Make the docbook-xsl-no-raw-roff variant match the no-docbook-xsl-no-raw-roff variant in terms of which XML tag is used to wrap listing block text (delimited with lines of dashes). e920b56 (Tweak asciidoc output to work with broken docbook-xsl, 2006-03-05) says docbook-xsl 1.68 needs <literallayout>. This <screen> usages was in the old, 1.72-only section. But since it is now the "roff-less" section, it probably makes sense to make it symmetric with the "roff-ful" section. 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 34c800b commit dad3211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/asciidoc.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ ifdef::doctype-manpage[]
4949
# The following two small workarounds insert a simple paragraph after screen
5050
[listingblock]
5151
<example><title>{title}</title>
52-
<screen>
52+
<literallayout>
5353
|
54-
</screen><simpara></simpara>
54+
</literallayout><simpara></simpara>
5555
{title#}</example>
5656

5757
[verseblock]

0 commit comments

Comments
 (0)