Skip to content

Commit fb5183e

Browse files
committed
fixed buggy sorting of miniapp
1 parent 93c9da6 commit fb5183e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htm-tpl-apparatus.xsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@
497497
</xsl:attribute>
498498
</xsl:if>
499499
<xsl:for-each select="$listapp/app">
500-
<xsl:sort select="substring-before(@n,'–')" data-type="number"/>
500+
<xsl:sort select="translate(substring(@n,1,2),'–','')" data-type="number"/>
501501
<xsl:if test="not(preceding-sibling::app[@n=current()/@n])">
502502
<!--<xsl:text>l.</xsl:text>-->
503503
<xsl:value-of select="@n"/>

0 commit comments

Comments
 (0)