Merge branch 'jn/wt-status' into maint
[git/mingw.git] / Documentation / manpage-quote-apos.xsl
blobaeb8839f33d0715843376489d9bfcfaadf7eb776
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2 version="1.0">
4 <!-- work around newer groff/man setups using a prettier apostrophe
5 that unfortunately does not quote anything when cut&pasting
6 examples to the shell -->
7 <xsl:template name="escape.apostrophe">
8 <xsl:param name="content"/>
9 <xsl:call-template name="string.subst">
10 <xsl:with-param name="string" select="$content"/>
11 <xsl:with-param name="target">'</xsl:with-param>
12 <xsl:with-param name="replacement">\(aq</xsl:with-param>
13 </xsl:call-template>
14 </xsl:template>
16 </xsl:stylesheet>