What is the correct procedure for contributing bug fixes?
 
I have discovered a problem with the v 1.56.1 stylesheets for creating HTML Help.  The bug occurs if you do not have a home button (i.e if the htmlhelp.button.home parameter is 0).  If you do not have a home button then the Options->Home menu item does not take you to
the right place (instead it takes you to an error page).
 
My solution for this problem is to replace these lines at line 190 of htmlhelp-common.xsl:
 
<xsl:if test="$htmlhelp.button.home != 0">
  <xsl:text>"</xsl:text>
  <xsl:value-of select="$htmlhelp.button.home.url"/>
  <xsl:text>"</xsl:text>
</xsl:if>
 
With these replacement lines:
 
<xsl:choose>
<xsl:when test="$htmlhelp.button.home != 0">
  <xsl:text>"</xsl:text>
  <xsl:value-of select="$htmlhelp.button.home.url"/>
  <xsl:text>"</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>"</xsl:text>
<xsl:value-of select="$default.topic"/>
<xsl:text>"</xsl:text>
</xsl:otherwise>
</xsl:choose>
 
nik

Reply via email to