]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug in processing of subtitle content
authorNorman Walsh <ndw@nwalsh.com>
Mon, 16 Apr 2001 18:50:58 +0000 (18:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 16 Apr 2001 18:50:58 +0000 (18:50 +0000)
xsl/common/gentext.xsl

index a0830591d61a0d2f67ce44ddf6b204d1f7a4f8c3..d0f26685bb75cde24cdb8b0dd6ca8d14edd88eab 100644 (file)
 
     <!-- s=1 -->
     <xsl:when test="starts-with($template, '%s')">
-      <xsl:apply-templates select="." mode="subtitle.content"/>
+      <xsl:apply-templates select="." mode="subtitle.markup"/>
       <xsl:call-template name="substitute-markup">
         <xsl:with-param name="template"
                         select="substring-after($template, '%s')"/>
         <xsl:when test="string-length($bef-s) &lt; string-length($bef-n)
                         and string-length($bef-s) &lt; string-length($bef-t)">
           <xsl:value-of select="$bef-s"/>
-          <xsl:apply-templates select="." mode="subtitle.content"/>
+          <xsl:apply-templates select="." mode="subtitle.markup"/>
           <xsl:call-template name="substitute-markup">
             <xsl:with-param name="template"
                             select="substring-after($template, '%s')"/>
         <!-- s is first -->
         <xsl:otherwise>
           <xsl:value-of select="$bef-s"/>
-          <xsl:apply-templates select="." mode="subtitle.content"/>
+          <xsl:apply-templates select="." mode="subtitle.markup"/>
           <xsl:call-template name="substitute-markup">
             <xsl:with-param name="template"
                             select="substring-after($template, '%s')"/>
         <!-- s is first -->
         <xsl:otherwise>
           <xsl:value-of select="$bef-s"/>
-          <xsl:apply-templates select="." mode="subtitle.content"/>
+          <xsl:apply-templates select="." mode="subtitle.markup"/>
           <xsl:call-template name="substitute-markup">
             <xsl:with-param name="template"
                             select="substring-after($template, '%s')"/>
     <!-- s -->
     <xsl:when test="contains($template, '%s')">
       <xsl:value-of select="$bef-s"/>
-      <xsl:apply-templates select="." mode="subtitle.content"/>
+      <xsl:apply-templates select="." mode="subtitle.markup"/>
       <xsl:call-template name="substitute-markup">
         <xsl:with-param name="template"
                         select="substring-after($template, '%s')"/>