Skip to content

Commit 26f72fc

Browse files
committed
fix: #4335 ext-link in refs outputting twice
1 parent c96d43d commit 26f72fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transform/xsl/default.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,7 @@
18601860
<xsl:template match="mixed-citation">
18611861
<!-- Render each mixed-citation as-is https://jats.nlm.nih.gov/archiving/tag-library/1.1/element/mixed-citation.html -->
18621862
<!-- Only exceptions are that we want titles <source> in italics and hyperlinked uris elements-->
1863-
<xsl:apply-templates select="source | node()" mode="nscitation"/>
1863+
<xsl:apply-templates select="source | node()[not(self::ext-link)]" mode="nscitation"/>
18641864
<xsl:apply-templates select="ext-link"/>
18651865
</xsl:template>
18661866

0 commit comments

Comments
 (0)