Skip to content

Commit

Permalink
Fixes #50.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelloPerathoner committed Dec 18, 2017
1 parent 37f61d0 commit 0d71d46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xslt/common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@

<xsl:variable name="hr">
<xsl:for-each select="str:split ($corresp)">
<xsl:if test="not (contains (., '_in'))">
<xsl:if test="not (contains (., '_inscriptio') or contains (., '_incipit') or contains (., 'explicit'))">
<xsl:value-of select="normalize-space (str:replace (., exsl:node-set ($search)/tei:item, exsl:node-set ($replace)/tei:item))"/>
<xsl:text> </xsl:text>
</xsl:if>
Expand Down
4 changes: 2 additions & 2 deletions xslt/mss-transcript.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
<xsl:value-of select="cap:make-human-readable-bk (@corresp)" />
</xsl:variable>

<xsl:if test="normalize-space ($corresp)"> <!-- is filtered by -inscriptio etc. -->
<xsl:if test="normalize-space ($corresp)"> <!-- is filtered by inscriptio incipit explicit etc. -->
<div class="corresp">
<xsl:text>[</xsl:text>
<xsl:value-of select="$corresp"/>
Expand Down Expand Up @@ -254,7 +254,7 @@
<!-- If the manuscript ends here,
or is followed by a capitulatio,
or is an epilog or explicit. -->
<xsl:if test="not (following-sibling::tei:ab) or following-sibling::*[1][self::tei:milestone[@unit='capitulatio']] or contains (@corresp, '_epilog') or contains (@corresp, '_explicit')">
<xsl:if test="not (following-sibling::tei:ab) or following-sibling::*[1][self::tei:milestone[@unit='capitulatio']] or contains (@corresp, '_epilog') or contains (@corresp, 'explicit')">
<xsl:call-template name="footnotes-wrapper"/>
<xsl:call-template name="page-break" />
</xsl:if>
Expand Down

0 comments on commit 0d71d46

Please sign in to comment.