Skip to content

Commit

Permalink
bug small-caps
Browse files Browse the repository at this point in the history
  • Loading branch information
glorieux-f committed Sep 12, 2024
1 parent 87433d2 commit a312672
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tei_html/tei_flow_html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ Tables
</xsl:apply-templates>
</xsl:element>
</xsl:when>
<xsl:when test="$rend = ''">
<xsl:when test="not(@rend) or $rend = ''">
<i>
<xsl:call-template name="atts"/>
<xsl:apply-templates>
Expand Down Expand Up @@ -1125,14 +1125,6 @@ Tables
</xsl:apply-templates>
</sub>
</xsl:when>
<xsl:when test="contains($rend, 'initial') or starts-with($rend, 'over') or starts-with($rend, 'sc') or starts-with($rend, 'under')">
<span>
<xsl:call-template name="atts"/>
<xsl:apply-templates>
<xsl:with-param name="from" select="$from"/>
</xsl:apply-templates>
</span>
</xsl:when>
<xsl:when test="starts-with($rend, 'exp')">
<sup>
<xsl:call-template name="atts"/>
Expand Down Expand Up @@ -1165,14 +1157,22 @@ Tables
</xsl:apply-templates>
</span>
</xsl:when>
<xsl:when test="contains($rend, 'initial') or starts-with($rend, 'over') or starts-with($rend, 'sc') or starts-with($rend, 'under')">
<span>
<xsl:call-template name="atts"/>
<xsl:apply-templates>
<xsl:with-param name="from" select="$from"/>
</xsl:apply-templates>
</span>
</xsl:when>
<!-- maybe tei generated from html mess, thing like <i rend="t15"></i> -->
<xsl:otherwise>
<i>
<span>
<xsl:call-template name="atts"/>
<xsl:apply-templates>
<xsl:with-param name="from" select="$from"/>
</xsl:apply-templates>
</i>
</span>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
Expand Down Expand Up @@ -2312,7 +2312,7 @@ Centralize some html attribute policy, especially for id, and class
-->
<xsl:template name="atts">
<!-- Add some html classes to the automatic ones -->
<xsl:param name="rend"/>
<xsl:param name="rend" select="@rend"/>
<!-- Ddelegate class attribution to another template -->
<xsl:call-template name="class">
<xsl:with-param name="rend" select="$rend"/>
Expand Down

0 comments on commit a312672

Please sign in to comment.