wrap callout img elements in <span> to make valid HTML.
<xsl:choose>
<xsl:when test="$callout.graphics != 0
and $conum <= $callout.graphics.number.limit">
- <img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}"
- alt="{$conum}" border="0"/>
+ <!-- Added span to make valid in XHTML 1 -->
+ <span><img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}"
+ alt="{$conum}" border="0"/></span>
</xsl:when>
<xsl:when test="$callout.unicode != 0
and $conum <= $callout.unicode.number.limit">
<xsl:call-template name="anchor"/>
- <xsl:variable name="div.element">
- <xsl:choose>
- <xsl:when test="$make.clean.html != 0">div</xsl:when>
- <xsl:otherwise>pre</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
+ <xsl:variable name="div.element">pre</xsl:variable>
<xsl:if test="$shade.verbatim != 0">
<xsl:message>