Skip to content

Commit

Permalink
feat(viewer): quotation marks aronud direct biblical quotations have …
Browse files Browse the repository at this point in the history
…been moved from pseudo-elements to spans.
  • Loading branch information
geoffroy-noel-ddh committed Aug 19, 2024
1 parent be95887 commit 7673c58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions responses/tei-to-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@
<xsl:template match="tei:quote">
<span>
<xsl:call-template name="lossless-attributes"><xsl:with-param name="class" select="'has-info-box is-quote'"/></xsl:call-template>
<xsl:if test="@type='direct'">
<span class="modern-only">‘</span>
</xsl:if>
<xsl:call-template name="process-children" />
<span class="info-box">
<span class="banner">Biblical reference</span>
Expand All @@ -198,6 +201,9 @@
</xsl:for-each>
</span>
</span>
<xsl:if test="@type='direct'">
<span class="modern-only">’</span>
</xsl:if>
</span>
</xsl:template>

Expand Down

0 comments on commit 7673c58

Please sign in to comment.