]>
Commit | Line | Data |
---|---|---|
204d363f TR |
1 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
2 | version="1.0"> | |
3 | ||
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> | |
15 | ||
16 | </xsl:stylesheet> |