Skip to content

Commit

Permalink
feat(thornton): implemented para merging; create a container div arou…
Browse files Browse the repository at this point in the history
…nd the paras that should be rendered as one in modernised version.
  • Loading branch information
geoffroy-noel-ddh committed May 19, 2024
1 parent 57c70a4 commit d411666
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions responses/at-tei-to-tei.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@
<!-- remove excluded notes, for internal editing purpose only -->
</xsl:template>

<xsl:template match="tei:p[contains(@rend, 'append-following-sibling')]">
<div type="merged-modern-paras">
<xsl:copy-of select="." />
<xsl:copy-of select="./following-sibling::tei:p[1]" />
</div>
</xsl:template>

<xsl:template match="tei:p[contains(@rend, 'append-following-sibling')]/following-sibling::tei:p[1]">
<!-- Already copied above -->
</xsl:template>

<xsl:template match="tei:anchor[@resp='ednote']" priority="10">
<!--
<anchor corresp="#ednote-0001" type="context" resp="ednote"/>
Expand Down

0 comments on commit d411666

Please sign in to comment.