Fixed URIs in jats.csl.

They were being rendered twice, leading to invalid XML.
This commit is contained in:
John MacFarlane 2017-11-11 16:23:41 -08:00
parent f9c7b49502
commit cf7d66c097

View file

@ -98,10 +98,7 @@
</choose> </choose>
<choose> <choose>
<if variable="URL" match="any"> <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" /> <text variable="URL" />
</group>
</if> </if>
</choose> </choose>
</macro> </macro>