]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow inlines and anchors in titles
authorNorman Walsh <ndw@nwalsh.com>
Sun, 2 Dec 2001 23:54:04 +0000 (23:54 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 2 Dec 2001 23:54:04 +0000 (23:54 +0000)
xsl/fo/component.xsl
xsl/html/component.xsl

index f7521f4d8e1f1027b755fe3bce9c04963df684de..d4f7f458da58de172336cb7b5e881f8400b0deab 100644 (file)
@@ -23,7 +23,9 @@
     </xsl:call-template>
   </xsl:variable>
   <xsl:variable name="title">
-    <xsl:apply-templates select="$node" mode="object.title.markup"/>
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
   </xsl:variable>
 
   <xsl:if test="$passivetex.extensions != 0">
index b1336c504ac9bff9d04f4db9c8d5a62d6808742d..f1eea4c3ce6d157a83db915e7af2c9f7b3890ad0 100644 (file)
@@ -21,7 +21,9 @@
       <xsl:with-param name="node" select="$node"/>
       <xsl:with-param name="conditional" select="0"/>
     </xsl:call-template>
-    <xsl:apply-templates select="$node" mode="object.title.markup"/>
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
   </h2>
 </xsl:template>