Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed empty heading problem
  • Loading branch information
EsGeh authored and EsGeh committed Mar 20, 2019
1 parent 13db9e4 commit bc2bdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tei2html.xsl
Expand Up @@ -901,8 +901,8 @@

<xsl:template match="tei:body//tei:head" mode="body">
<xsl:choose>
<xsl:when test="tei:choice">
<xsl:apply-templates select="tei:choice/tei:expan" mode="html"/>
<xsl:when test="tei:choice/tei:expan">
<xsl:apply-templates select="tei:choice/tei:expan/node() | tei:choice/tei:expan/text()" mode="html"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates mode="html"/>
Expand Down

0 comments on commit bc2bdc5

Please sign in to comment.