]> granicus.if.org Git - docbook-dsssl/commitdiff
Add task template in title.markup mode.
authorBob Stayton <bobs@sagehill.net>
Thu, 9 Feb 2006 16:36:56 +0000 (16:36 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 9 Feb 2006 16:36:56 +0000 (16:36 +0000)
xsl/common/titles.xsl

index b4a8637ba5534f9349e2a79f07de13f76088a721..898e44d53d8b9bdd6558f2e1c83f554299c4250e 100644 (file)
@@ -375,6 +375,13 @@ title of the element. This does not include the label.
   </xsl:apply-templates>
 </xsl:template>
 
+<xsl:template match="task" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
 <xsl:template match="abstract" mode="title.markup">
   <xsl:param name="allow-anchors" select="0"/>
   <xsl:choose>