]> granicus.if.org Git - docbook-dsssl/commitdiff
refpurpose nodes now get apply-templates instead of just normalize-space().
authorBob Stayton <bobs@sagehill.net>
Thu, 21 Feb 2008 21:37:56 +0000 (21:37 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 21 Feb 2008 21:37:56 +0000 (21:37 +0000)
xsl/manpages/refentry.xsl

index eaa097c243d1e1bfc85a1002a7b9b7f5c91f65b0..15d59b9873d30067afbb95e589bafe75e15cf335 100644 (file)
     <!-- * -->
     <xsl:if test="refpurpose/node()">
       <xsl:text> \- </xsl:text>
-      <xsl:value-of select="normalize-space(refpurpose)"/>
+      <xsl:variable name="refpurpose">
+        <xsl:apply-templates select="refpurpose/node()"/>
+      </xsl:variable>
+      <xsl:value-of select="normalize-space($refpurpose)"/>
     </xsl:if>
     <xsl:text>&#10;</xsl:text>
   </xsl:template>