aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-11 16:23:41 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-11 16:23:41 -0800
commitcf7d66c097ea8b93b5ece86aaa336994b0b281e9 (patch)
tree9a49bed5afeb47fd1fe8410537b0c26eed020a29 /data
parentf9c7b49502ffcc69c41737a02b5da733b4a6f93e (diff)
downloadpandoc-cf7d66c097ea8b93b5ece86aaa336994b0b281e9.tar.gz
Fixed URIs in jats.csl.
They were being rendered twice, leading to invalid XML.
Diffstat (limited to 'data')
-rw-r--r--data/jats.csl5
1 files changed, 1 insertions, 4 deletions
diff --git a/data/jats.csl b/data/jats.csl
index 64872863c..dc1f154a8 100644
--- a/data/jats.csl
+++ b/data/jats.csl
@@ -98,10 +98,7 @@
</choose>
<choose>
<if variable="URL" match="any">
- <group prefix="{{jats}}&lt;ext-link ext-link-type=&quot;uri&quot; {{/jats}}" suffix="{{jats}}&lt;/ext-link&gt;{{/jats}}">
- <text variable="URL" prefix="{{jats}}xlink:href=&quot;{{/jats}}" suffix="{{jats}}&quot; xlink:type=&quot;simple&quot;&gt;{{/jats}}"/>
- <text variable="URL"/>
- </group>
+ <text variable="URL" />
</if>
</choose>
</macro>