Skip to content

Commit

Permalink
Bug fixed pre release
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaraDipi committed Aug 1, 2016
1 parent 1bccb28 commit daa588d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions builder_pack/modules/elements/evt_builder-interp-core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
<!-- REF References to additional text -->
<xsl:template match="tei:ref" mode="interp">
<xsl:choose>
<xsl:when test="node()/ancestor::tei:note">
<xsl:when test="node()/ancestor::tei:note or node()/ancestor::tei:desc">
<xsl:element name="span">
<xsl:attribute name="class">ref</xsl:attribute>
<xsl:attribute name="data-target"><xsl:value-of select="@target"/></xsl:attribute>
Expand Down Expand Up @@ -707,11 +707,11 @@
<xsl:if test="@type or @subtype or @notAfter or @notBefore or @from or @to">
<xsl:text>&#xA0;(</xsl:text>
<xsl:if test="@type">
<xsl:value-of select="replace(@type, '-', '/')"/>
<xsl:value-of select="replace(replace(@type, '-', '/'), '_', ' ')"/>
<xsl:text>&#xA0;</xsl:text>
</xsl:if>
<xsl:if test="@subtype">
<xsl:value-of select="replace(@subtype, '-', '/')"/>
<xsl:value-of select="replace(replace(@subtype, '-', '/'), '_', ' ')"/>
<xsl:text>&#xA0;</xsl:text>
</xsl:if>
<xsl:if test="@notAfter">
Expand Down

0 comments on commit daa588d

Please sign in to comment.