Skip to content

Commit

Permalink
tei->eoatex: avoid ambiguous template match warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
EsGeh authored and EsGeh committed Nov 22, 2019
1 parent ce08db3 commit f61bb11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tei2eoatex/eoatex_textparts.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<xsl:text>&#x000a;</xsl:text>
</xsl:template>

<xsl:template match="tei:body//tei:p[not(ancestor::tei:note)]">
<xsl:template match="tei:body//tei:p[not(ancestor::tei:note) and not(parent::tei:div[@type = 'letter'])]">
<xsl:if test="preceding-sibling::*">
<xsl:text>&#x000a;</xsl:text>
</xsl:if>
Expand Down

0 comments on commit f61bb11

Please sign in to comment.