summaryrefslogtreecommitdiff
path: root/man/custom-man.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'man/custom-man.xsl')
-rw-r--r--man/custom-man.xsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/custom-man.xsl b/man/custom-man.xsl
index 753e5715e3..e1b8d3618a 100644
--- a/man/custom-man.xsl
+++ b/man/custom-man.xsl
@@ -52,4 +52,13 @@
<xsl:call-template name="mark.subheading"/>
</xsl:template>
+<xsl:template match="literal">
+ <xsl:if test="$man.hyphenate.computer.inlines = 0">
+ <xsl:call-template name="suppress.hyphenation"/>
+ </xsl:if>
+ <xsl:text>"</xsl:text>
+ <xsl:call-template name="inline.monoseq"/>
+ <xsl:text>"</xsl:text>
+</xsl:template>
+
</xsl:stylesheet>