]> granicus.if.org Git - apache/commitdiff
Render <code> in bold in man pages, matching commonly used style in
authorJoe Orton <jorton@apache.org>
Wed, 27 Jun 2018 07:24:39 +0000 (07:24 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 27 Jun 2018 07:24:39 +0000 (07:24 +0000)
both help2man and the standard DocBook XSL stylesheets for man output.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1834470 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/style/xsl/nroff.xsl

index 5d3a25309df5e366a3730455cd9f287b69c0e5ad..1345933864d632f2d6c82baf0e652bff4e020e3f 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>