]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix handling of refpurpose in TOC entries for refentry.
authorBob Stayton <bobs@sagehill.net>
Tue, 31 Jan 2012 05:39:56 +0000 (05:39 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 31 Jan 2012 05:39:56 +0000 (05:39 +0000)
xsl/epub3/epub3-element-mods.xsl

index 31e3a25c4f7892eda95246a0a17a37deae406818..5c78edbec8ca60d5fb4c3a8e326c9fd136e78fcd 100644 (file)
@@ -2233,9 +2233,9 @@ book  toc,title,figure,table,example,equation
         <!-- * is allowed in refpurpose; so we need to run -->
         <!-- * apply-templates on refpurpose here, instead of value-of  -->
         <!-- Set allow-anchors=0 to avoid indexterms and other links -->
-        <xsl:apply-templates select="refnamediv/refpurpose" mode="title.markup">
-          <xsl:with-param name="allow-anchors" select="0"/>
-        </xsl:apply-templates>
+        <
+        <xsl:text> - </xsl:text>
+        <xsl:apply-templates select="refnamediv/refpurpose" mode="no.anchor.mode"/>
       </xsl:if>
     </a>
   </xsl:element>