]> granicus.if.org Git - apache/commitdiff
Merge r1834470 from trunk:
authorJoe Orton <jorton@apache.org>
Fri, 6 Jul 2018 08:43:37 +0000 (08:43 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 6 Jul 2018 08:43:37 +0000 (08:43 +0000)
Render <code> in bold in man pages, matching commonly used style in
both help2man and the standard DocBook XSL stylesheets for man output.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1835219 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/nroff.xsl

index 46d574f04d702c51159becf182010c422508ee79..f567089f89e977b5ace19a2d4d93c3a3e95df2dd 100644 (file)
 <!-- <strong>                                                             -->
 <!-- show it somewhat special (bold)                                      -->
 <!-- ==================================================================== -->
-<xsl:template match="strong">
+<xsl:template match="strong|code">
 <xsl:text>\fB</xsl:text>
     <xsl:apply-templates />
 <xsl:text>\fR</xsl:text>
@@ -373,7 +373,7 @@ FATAL: only tables with two (2) columns are supported.
 <!-- ==================================================================== -->
 <!-- pass through content                                                 -->
 <!-- ==================================================================== -->
-<xsl:template match="a|code|module|table|program|glossary">
+<xsl:template match="a|module|table|program|glossary">
 <xsl:apply-templates />
 </xsl:template>