Skip to content

Commit e5bd259

Browse files
committed
update from Dario
1 parent e8551a8 commit e5bd259

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

combine-hi.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<xsl:sequence select="current-group()" />
2222
</xsl:when>
2323
<xsl:otherwise>
24-
<xsl:variable name="lastHi" select="index-of(current-group(), current-group()[self::tei:hi][last()])"/>
24+
<xsl:variable name="lastHi" select="(index-of(current-group(), current-group()[self::tei:hi][last()]))[last()]"/>
2525

2626
<hi style="{current-group()[1]/@style}">
2727
<xsl:apply-templates select="current-group()[position() le $lastHi]" mode="do-combine-hi" />

0 commit comments

Comments
 (0)