[gtk-doc] gtk-doc.xsl: apply the mode when chaining up



commit 4dd1741fbc17db488cf7403ea197a4875a2f599e
Author: Stefan Sauer <ensonic users sf net>
Date:   Wed May 6 18:10:15 2015 +0200

    gtk-doc.xsl: apply the mode when chaining up
    
    Upstream applied the same fix now with a small correction - pass the mode when
    chaining up.

 gtk-doc.xsl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk-doc.xsl b/gtk-doc.xsl
index 55b1813..992fd9d 100644
--- a/gtk-doc.xsl
+++ b/gtk-doc.xsl
@@ -779,6 +779,7 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
 
   <!-- a copy from refentry.xsl to add the missing mode attribute,
        see bug/729911, https://sourceforge.net/p/docbook/bugs/1358/
+       fixed in: https://sourceforge.net/p/docbook/code/9962/
   -->
   <xsl:template match="refpurpose" mode="no.anchor.mode">
     <xsl:if test="node()">
@@ -787,7 +788,7 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
         <xsl:with-param name="dingbat">em-dash</xsl:with-param>
       </xsl:call-template>
       <xsl:text> </xsl:text>
-      <xsl:apply-templates />
+      <xsl:apply-templates mode="no.anchor.mode"/>
     </xsl:if>
   </xsl:template>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]