Skip to content

Commit 857d81a

Browse files
committed
修复生成列表的 bug
1 parent 8aec51a commit 857d81a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.zh_CN.xsl

+4-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
<xsl:for-each select="//entry/category[@name=current()/@name]/..">
5252
<xsl:sort select="@name"/>
5353
<xsl:if test="not(following::entry[1]/@name=@name)">
54-
<li><xsl:value-of select="@name"/><xsl:if test="@type='method'">()</xsl:if></li>
54+
<li><a>
55+
<xsl:attribute name="href"><xsl:value-of select="@name"/>.htm</xsl:attribute>
56+
<xsl:value-of select="@name"/><xsl:if test="@type='method'">()</xsl:if>
57+
</a></li>
5558
</xsl:if>
5659
</xsl:for-each>
5760
</ul>

0 commit comments

Comments
 (0)