mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
JATS writer: don't embed string-name in string.
That's illegal with this DTD.
This commit is contained in:
@@ -83,14 +83,14 @@ $for(author)$
|
||||
$if(author.orcid)$
|
||||
<contrib-id contrib-id-type="orcid">$author.orcid$</contrib-id>
|
||||
$endif$
|
||||
<name>
|
||||
$if(author.surname)$
|
||||
<name>
|
||||
<surname>$author.surname$</surname>
|
||||
<given-names>$author.given-names$</given-names>
|
||||
</name>
|
||||
$else$
|
||||
<string-name>$author$</string-name>
|
||||
$endif$
|
||||
</name>
|
||||
$if(author.email)$
|
||||
<email>$author.email$</email>
|
||||
$endif$
|
||||
|
||||
@@ -16,14 +16,10 @@
|
||||
</title-group>
|
||||
<contrib-group>
|
||||
<contrib contrib-type="author">
|
||||
<name>
|
||||
<string-name>John MacFarlane</string-name>
|
||||
</name>
|
||||
</contrib>
|
||||
<contrib contrib-type="author">
|
||||
<name>
|
||||
<string-name>Anonymous</string-name>
|
||||
</name>
|
||||
</contrib>
|
||||
</contrib-group>
|
||||
<pub-date pub-type="epub">
|
||||
|
||||
Reference in New Issue
Block a user