From bb68c183b38542b9acf1090a1ceaa84455aedc4b Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 11 Jun 2019 16:16:05 -0700 Subject: JATS writer: don't embed string-name in string. That's illegal with this DTD. --- data/templates/default.jats | 4 ++-- test/writer.jats | 4 ---- 2 files changed, 2 insertions(+), 6 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)$ $author.orcid$ $endif$ - $if(author.surname)$ + $author.surname$ $author.given-names$ + $else$ $author$ $endif$ - $if(author.email)$ $author.email$ $endif$ diff --git a/test/writer.jats b/test/writer.jats index 8ca27083a..ae24f3e50 100644 --- a/test/writer.jats +++ b/test/writer.jats @@ -16,14 +16,10 @@ - John MacFarlane - - Anonymous - -- cgit v1.2.3