summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-11-04 13:33:06 +0900
committerJunio C Hamano <gitster@pobox.com>2019-11-04 13:33:06 +0900
commit1d34d425d4b080f457c7c250fa4e7b364be02c1b (patch)
tree6298e4d518d23442f08ad755e8212df3c0210143
parentMerge branch 'ds/commit-graph-on-fetch' (diff)
parentmanpage-bold-literal.xsl: match for namespaced "d:literal" in template (diff)
downloadgit-1d34d425d4b080f457c7c250fa4e7b364be02c1b.tar.xz
git-1d34d425d4b080f457c7c250fa4e7b364be02c1b.zip
Merge branch 'bc/doc-use-docbook-5'
Finishing touches to the recent update to the build procedure for the documentation. * bc/doc-use-docbook-5: manpage-bold-literal.xsl: match for namespaced "d:literal" in template
-rw-r--r--Documentation/manpage-bold-literal.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/manpage-bold-literal.xsl b/Documentation/manpage-bold-literal.xsl
index 608eb5df628..94d6c1b5456 100644
--- a/Documentation/manpage-bold-literal.xsl
+++ b/Documentation/manpage-bold-literal.xsl
@@ -1,12 +1,13 @@
<!-- manpage-bold-literal.xsl:
special formatting for manpages rendered from asciidoc+docbook -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:d="http://docbook.org/ns/docbook"
version="1.0">
<!-- render literal text as bold (instead of plain or monospace);
this makes literal text easier to distinguish in manpages
viewed on a tty -->
-<xsl:template match="literal">
+<xsl:template match="literal|d:literal">
<xsl:value-of select="$git.docbook.backslash"/>
<xsl:text>fB</xsl:text>
<xsl:apply-templates/>