+
+
+The abstract can contain a footnote.
+
+
-FurtherAn important footnote.
thoughts below.
+Further thoughts below.
diff --git a/src/codecs/jats/index.ts b/src/codecs/jats/index.ts
index 43b0e6d2b..40064bc7f 100644
--- a/src/codecs/jats/index.ts
+++ b/src/codecs/jats/index.ts
@@ -509,7 +509,7 @@ function decodeAbstract(
state: DecodeState
): stencila.Article['description'] {
if (elem === null) return undefined
- const ps = all(elem, 'p')
+ const ps = children(elem, 'p')
if (ps.length === 0) return undefined
if (ps.length === 1) {
const content = decodeInlineContent(ps, state)
diff --git a/src/codecs/jats/jats.test.ts b/src/codecs/jats/jats.test.ts
index 3a239d72f..66f46d8f2 100644
--- a/src/codecs/jats/jats.test.ts
+++ b/src/codecs/jats/jats.test.ts
@@ -77,6 +77,7 @@ describe('encode: Math', () => {
test.each([
'fig.xml',
'statement.xml',
+ 'footnote.xml',
'quote.xml',
'elife-30274-v1',
'elife-43154-v2',