diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-06-11 16:16:05 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-06-11 16:16:05 -0700 |
commit | bb68c183b38542b9acf1090a1ceaa84455aedc4b (patch) | |
tree | c6dfbc0d4710fdeab480c2d037f0cfc2f196de19 /data | |
parent | 6704b66c33fa75b4b153cff809947489b267f2a8 (diff) | |
download | pandoc-bb68c183b38542b9acf1090a1ceaa84455aedc4b.tar.gz |
JATS writer: don't embed string-name in string.
That's illegal with this DTD.
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.jats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/default.jats b/data/templates/default.jats index 228a0636a..966da5c29 100644 --- a/data/templates/default.jats +++ b/data/templates/default.jats @@ -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$ |