162306a36Sopenharmony_ci<!-- manpage-suppress-sp.xsl:
262306a36Sopenharmony_ci     special settings for manpages rendered from asciidoc+docbook
362306a36Sopenharmony_ci     handles erroneous, inline .sp in manpage output of some
462306a36Sopenharmony_ci     versions of docbook-xsl -->
562306a36Sopenharmony_ci<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
662306a36Sopenharmony_ci		version="1.0">
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci<!-- attempt to work around spurious .sp at the tail of the line
962306a36Sopenharmony_ci     that some versions of docbook stylesheets seem to add -->
1062306a36Sopenharmony_ci<xsl:template match="simpara">
1162306a36Sopenharmony_ci  <xsl:variable name="content">
1262306a36Sopenharmony_ci    <xsl:apply-templates/>
1362306a36Sopenharmony_ci  </xsl:variable>
1462306a36Sopenharmony_ci  <xsl:value-of select="normalize-space($content)"/>
1562306a36Sopenharmony_ci  <xsl:if test="not(ancestor::authorblurb) and
1662306a36Sopenharmony_ci                not(ancestor::personblurb)">
1762306a36Sopenharmony_ci    <xsl:text>&#10;&#10;</xsl:text>
1862306a36Sopenharmony_ci  </xsl:if>
1962306a36Sopenharmony_ci</xsl:template>
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci</xsl:stylesheet>
22