]> granicus.if.org Git - docbook-dsssl/commitdiff
admon.textlabel turned off still outputs a note's title child.
authorBob Stayton <bobs@sagehill.net>
Wed, 7 May 2003 06:12:51 +0000 (06:12 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 7 May 2003 06:12:51 +0000 (06:12 +0000)
xsl/html/admon.xsl

index d9d3f5f1406e45bbb54b2247ad30c7f2f3415b0f..ad8d6df22b876154d5193afaecaa427c7089dd2b 100644 (file)
@@ -82,7 +82,7 @@
         </td>
         <th align="left">
           <xsl:call-template name="anchor"/>
-          <xsl:if test="$admon.textlabel != 0">
+          <xsl:if test="$admon.textlabel != 0 or title">
             <xsl:apply-templates select="." mode="object.title.markup"/>
           </xsl:if>
         </th>
 
     <h3 class="title">
       <xsl:call-template name="anchor"/>
-      <xsl:if test="$admon.textlabel != 0">
+      <xsl:if test="$admon.textlabel != 0 or title">
         <xsl:apply-templates select="." mode="object.title.markup"/>
       </xsl:if>
-      <xsl:apply-templates select="." mode="object.title.markup"/>
     </h3>
 
     <xsl:apply-templates/>