Commit a088e86e authored by Bourdot's avatar Bourdot
Browse files

Annulation création ancre ref courtes dans les notes

parent f405b68a
Loading
Loading
Loading
Loading
+6 −1
Changes for xsl/tei/03-tei2html_core.xsl: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -857,7 +857,7 @@
                    </xsl:otherwise>
                </xsl:choose>
            </xsl:when>
            <xsl:when test="@type='bibl'">
            <xsl:when test="@type='bibl' and not(ancestor::tei:note)">
                <span class="bib-ref-call">
                    <xsl:attribute name="data-target">
                        <xsl:value-of select="substring-after(@target, '#')"/>
@@ -865,6 +865,11 @@
                    <xsl:apply-templates/>
                </span>
            </xsl:when>
            <xsl:when test="@type='bibl' and ancestor::tei:note">
                <span class="bib-ref-call-note">
                    <xsl:apply-templates/>
                </span>
            </xsl:when>
            <xsl:otherwise>
                <a href="{@target}">
                    <xsl:apply-templates/>