tip admonitions: We now output and HTML h3 head only if
admon.textlabel is non-zero or if the admonition actually contains
a title; otherwise, we don't output an h3 head at all.
(Previously, we were outputting an empty h3 if the admon.textlabel
was zero and if the admonition had no title.)
</xsl:attribute>
</xsl:if>
- <h3 class="title">
- <xsl:call-template name="anchor"/>
- <xsl:if test="$admon.textlabel != 0 or title or info/title">
+ <xsl:if test="$admon.textlabel != 0 or title or info/title">
+ <h3 class="title">
+ <xsl:call-template name="anchor"/>
<xsl:apply-templates select="." mode="object.title.markup"/>
- </xsl:if>
- </h3>
+ </h3>
+ </xsl:if>
<xsl:apply-templates/>
</div>