aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-08-16 21:06:49 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-16 21:06:49 -0700
commit0910e9218728c85feb562745ed5eb44d586e824d (patch)
tree40fa689baab3887f65c2b75d39b0b606bd46ac62 /data
parentfe312b0a7a0e63e307162da47dc9f1ca8f47737f (diff)
downloadpandoc-0910e9218728c85feb562745ed5eb44d586e824d.tar.gz
TEI improvements.
- Ensure that title element is always present, even if empty. - Put author tags in the template, rather than adding them in the writer. Closes #4839.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.tei4
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/default.tei b/data/templates/default.tei
index 3778dccd5..824c9f0e7 100644
--- a/data/templates/default.tei
+++ b/data/templates/default.tei
@@ -3,11 +3,9 @@
<teiHeader>
<fileDesc>
<titleStmt>
-$if(title)$
<title>$title$</title>
-$endif$
$for(author)$
- $author$
+ <author>$author$</author>
$endfor$
</titleStmt>
<publicationStmt>