aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMauro Bieg <mb21@users.noreply.github.com>2019-02-10 16:22:12 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-10 07:22:12 -0800
commitd0a5f2aded6ace0e6310b622d6560fa9fee1d9e3 (patch)
tree59a2a366e15ac41436cbfc69b6e2d4706f02dfa2 /test
parentf27d029f0f6aaae86f3d6f8ebc1dd81725528888 (diff)
downloadpandoc-d0a5f2aded6ace0e6310b622d6560fa9fee1d9e3.tar.gz
JATS writer: wrap figure caption in <p> to fix validation (#5292)
closes #5290
Diffstat (limited to 'test')
-rw-r--r--test/writer.jats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.jats b/test/writer.jats
index f87b2325a..a4d604607 100644
--- a/test/writer.jats
+++ b/test/writer.jats
@@ -835,7 +835,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{</preformat>
<title>Images</title>
<p>From “Voyage dans la Lune” by Georges Melies (1902):</p>
<fig>
- <caption>lalune</caption>
+ <caption><p>lalune</p></caption>
<graphic mimetype="image" mime-subtype="jpeg" xlink:href="lalune.jpg" xlink:title="Voyage dans la Lune" />
</fig>
<p>Here is a movie