@matheusbsbs / matheus-bagliano / commits / 4344be057e
Fork 0

manpage-bold-literal.xsl: stop using git.docbook.backslash

We used to assign git.docbook.backslash one of two different values -- one "normal" and one for working around a problem with docbook-xsl 1.72. After the previous commit, we don't support that version anymore and always use the "normal" value, a literal backslash. Just explicitly use a backslash instead of using git.docbook.backslash. The next commit will drop the definition of git.docbook.backslash entirely. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Martin Ågren committed Mar 29, 2020 at 15:18 UTC 4344be057e1f7175476b367e66c87b32d56de050
1 file changed +2 -4
Documentation/manpage-bold-literal.xsl
+2 -4
@@ -8,11 +8,9 @@
8 this makes literal text easier to distinguish in manpages
9 viewed on a tty -->
10 <xsl:template match="literal|d:literal">
11 - <xsl:value-of select="$git.docbook.backslash"/>
12 - <xsl:text>fB</xsl:text>
11 + <xsl:text>\fB</xsl:text>
12 <xsl:apply-templates/>
14 - <xsl:value-of select="$git.docbook.backslash"/>
15 - <xsl:text>fR</xsl:text>
13 + <xsl:text>\fR</xsl:text>
14 </xsl:template>
15
16 </xsl:stylesheet>