Skip to content

Commit

Permalink
further fix for handling tables in non-standard elements #35
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Apr 28, 2021
1 parent 2ad2ba4 commit cb0be57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foliatools/tei2folia.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ Heavily adapted by Maarten van Gompel (Radboud University)
</xsl:template>

<!-- we can't have tables, figures or lists inside these pseudo-TEI elements either -->
<xsl:template match="tei:para[./tei:table|./tei:figure|./tei:list]" mode="structure">
<xsl:template match="tei:para[./tei:table|./tei:figure|./tei:list]|tei:remark[./tei:table|./tei:figure|./tei:list]" mode="structure">
<!-- just forget about the P and handle everything inside directly: -->
<xsl:apply-templates mode="structure" />
</xsl:template>
Expand Down

0 comments on commit cb0be57

Please sign in to comment.