Skip to content

Commit

Permalink
feat: adjust indentation in decodeMetaFront function in jats codec
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisgo committed Aug 28, 2024
1 parent 2b158b7 commit 45eb531
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/codecs/jats/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,9 @@ function decodeHistory(
export function decodeMetaFront(front: xml.Element): stencila.Article['meta'] {
// Extract all footnotes within the <author-notes> element as plain text
const authorNotes = [
...all(first(front, 'author-notes'), 'fn'),
...all(first(front, 'author-notes'), 'corresp'),
]
...all(first(front, 'author-notes'), 'fn'),
...all(first(front, 'author-notes'), 'corresp'),
]
.map((fn) => {
const id = attrOrUndefined(fn, 'id')
let label
Expand Down

0 comments on commit 45eb531

Please sign in to comment.