Skip to content

Commit

Permalink
little bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
glorieux-f committed Sep 7, 2024
1 parent e9a188e commit 07a45b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions tei_html/tei_notes_html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ BSD-3-Clause https://opensource.org/licenses/BSD-3-Clause
<xsl:apply-templates mode="fn"/>
</xsl:template>

<!-- Le template principal affichant des notes hors flux -->
<!-- note mode foot, only for inline notes, not block notes -->
<xsl:template match="tei:note" mode="fn" name="fn">
<xsl:param name="resp"/>
<xsl:choose>
Expand All @@ -82,8 +82,6 @@ BSD-3-Clause https://opensource.org/licenses/BSD-3-Clause
</xsl:otherwise>
</xsl:choose>
</xsl:template>



<xsl:template name="footnotes-old">
<xsl:param name="from" select="."/>
Expand Down Expand Up @@ -1017,7 +1015,7 @@ BSD-3-Clause https://opensource.org/licenses/BSD-3-Clause
<xsl:value-of select="$class"/>
<xsl:text> </xsl:text>
<!-- Name of the element (except from a list where TEI info will be redundant with HTML name) -->
<xsl:if test="not(contains( ' abbr add cell code del eg emph hi item list note q ref row seg table ' , concat(' ', local-name(), ' ')))">
<xsl:if test="not(contains( ' abbr add cell code del eg emph hi item list q ref row seg table ' , concat(' ', local-name(), ' ')))">
<xsl:value-of select="local-name()"/>
</xsl:if>
<xsl:text> </xsl:text>
Expand Down
4 changes: 2 additions & 2 deletions tei_html/tei_toc_html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ BSD-3-Clause https://opensource.org/licenses/BSD-3-Clause
<xsl:attribute name="href">
<xsl:call-template name="href"/>
</xsl:attribute>
<xsl:if test="$class">
<xsl:if test="$class != ''">
<xsl:attribute name="class">
<xsl:value-of select="$class"/>
</xsl:attribute>
Expand Down Expand Up @@ -419,7 +419,7 @@ BSD-3-Clause https://opensource.org/licenses/BSD-3-Clause
<xsl:when test="count($children) &gt; 0">
<xsl:call-template name="a"/>
<ol>
<xsl:if test="$class">
<xsl:if test="$class != ''">
<xsl:attribute name="class">
<xsl:value-of select="$class"/>
</xsl:attribute>
Expand Down

0 comments on commit 07a45b4

Please sign in to comment.