summaryrefslogtreecommitdiff
path: root/man/custom-html.xsl
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-26 08:03:53 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-06-26 08:05:14 -0400
commit909f413d3c572baadf9b13e36e1e90beba42af86 (patch)
treeac2c1caf2fbe7545482dc835461a9233fe590cd3 /man/custom-html.xsl
parent3b05b8b3b503caf525fa72440a3f9f4bae75268b (diff)
downloadsystemd-909f413d3c572baadf9b13e36e1e90beba42af86.tar.gz
man: always supply quotes around literals
When manpages are displayed on a terminal, <literal>s are indistinguishable from surrounding text. Add quotes everywhere, remove duplicate quotes, and tweak a few lists for consistent formatting. https://bugzilla.redhat.com/show_bug.cgi?id=874631
Diffstat (limited to 'man/custom-html.xsl')
-rw-r--r--man/custom-html.xsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/custom-html.xsl b/man/custom-html.xsl
index dde9d7af0e..060af2e56a 100644
--- a/man/custom-html.xsl
+++ b/man/custom-html.xsl
@@ -172,6 +172,12 @@
<hr/>
</xsl:template>
+<xsl:template match="literal">
+ <xsl:text>"</xsl:text>
+ <xsl:call-template name="inline.monoseq"/>
+ <xsl:text>"</xsl:text>
+</xsl:template>
+
<!-- Switch things to UTF-8, ISO-8859-1 is soo yesteryear -->
<xsl:output method="html" encoding="UTF-8" indent="no"/>