Skip to content

Commit

Permalink
feat(at): added classes to <hr> when it represents a rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffroy-noel-ddh committed Feb 2, 2025
1 parent 79c3329 commit 532f0ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions responses/tei-to-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +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:if test="contains(@rend, 'pre(rule)')"><hr class="rule rule-before"/></xsl:if>
<xsl:call-template name="process-children" />
<xsl:if test="contains(@rend, 'post(rule)')"><hr/></xsl:if>
<xsl:if test="contains(@rend, 'post(rule)')"><hr class="rule rule-after"/></xsl:if>
</xsl:copy>
</xsl:template>

Expand Down

0 comments on commit 532f0ff

Please sign in to comment.