diff --git a/transkription.xsl b/transkription.xsl index 7325d093926bf94a90def13d29ee5153970cd34b..29f0d3d0412a98ce61298b8f4a4b6efc8f69926d 100644 --- a/transkription.xsl +++ b/transkription.xsl @@ -315,8 +315,11 @@ <xsl:template match="add" mode="step3"> <xsl:text> <</xsl:text> - <xsl:apply-templates mode="step3"/> - <xsl:text>> </xsl:text> + <xsl:apply-templates mode="step3"/> + <xsl:text>></xsl:text> + <xsl:if test="not(following::*[1]/self::note[@type='annotation'])"> + <xsl:text> </xsl:text> + </xsl:if> </xsl:template> <xsl:template match="citedRange[@target]" mode="step3">