Skip to content

Commit

Permalink
feat(rendering): implemented the horizontal rules rend=post(rule).
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffroy-noel-ddh committed Mar 18, 2024
1 parent 4a78033 commit 4f4e177
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions responses/tei-to-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@
<xsl:template match="tei:p|tei:div">
<xsl:copy>
<xsl:call-template name="lossless-attributes"/>
<xsl:if test="contains(@rend, 'pre(rule)')"><hr/></xsl:if>
<xsl:call-template name="process-children" />
<xsl:if test="contains(@rend, 'post(rule)')"><hr/></xsl:if>
</xsl:copy>
</xsl:template>

Expand Down

0 comments on commit 4f4e177

Please sign in to comment.