Changes for xsl/tei/03-tei2html_core.xsl: 6 added lines, 3 removed lines.
Original line number
Diff line number
Diff line
@@ -1231,6 +1231,11 @@
<!--generic inline template -->
<xsl:templatematch="tei:hi">
<xsl:choose>
<xsl:whentest="contains(@rend, 'TEI_localcar')">
<spanclass="{@rend}">
<xsl:apply-templates/>
</span>
</xsl:when>
<xsl:whentest="@rend='italic'">
<i>
<xsl:apply-templates/>
@@ -1415,7 +1420,7 @@
<xsl:iftest="@rend">
<xsl:attributename="class"select="@rend"/>
</xsl:if>
<xsl:iftest="parent::tei:body/tei:p[1] = . or parent::bodyInclusion/tei:p[1] = . or ancestor::tei:floatingText[@type='description']//tei:p[1] = .">
<xsl:iftest="(parent::tei:body/tei:p[1] = . or parent::bodyInclusion/tei:p[1] = . or ancestor::tei:floatingText[@type='description']//tei:p[1] = .) and not(preceding-sibling::tei:p[contains(@rend, 'TEI_localpara')])">