You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not coming from the JATS decoder which doesn't have a decodeCitegroup function.
As the square brackets vanish too, i wonder if this is happening in the final conversion somehow?
Is this a bug or to be expected?
The text was updated successfully, but these errors were encountered:
In general it seems whitespace makes a difference:
<?xml version="1.0"?>
<article>
<front>
<article-meta>
<contrib-group />
</article-meta>
</front>
<body>
<pid="p1">This has been shown by [<xrefref-type="bibr"rid="bib-bib1">1</xref>].</p>
<pid="p2">This has been shown by [
<xrefref-type="bibr"rid="bib-bib2">1</xref>
].</p>
</body>
<back>
<ref-list>
<title>References</title>
<refid="bib.bib1">
<mixed-citation>
A. Foo, A Title, 2021</mixed-citation>
</ref>
<refid="bib.bib2">
<mixed-citation>
B. Bar, Another Title, 2021</mixed-citation>
</ref>
</ref-list>
</back>
</article>
JSON content:
"content": [
{
"type": "Paragraph",
"id": "p1",
"content": [
"This has been shown by ",
{
"type": "Cite",
"target": "bib-bib1",
"content": [
1
]
},
"."
]
},
{
"type": "Paragraph",
"id": "p2",
"content": [
"This has been shown by [\n",
{
"type": "Cite",
"target": "bib-bib2",
"content": [
1
]
},
"\n]."
]
}
]
When decoding the following JATS example with a citation like
literature [1, 2, 3] shows
i get the following JSON (shortened to only show paragraph content):
This is not coming from the JATS decoder which doesn't have a
decodeCitegroup
function.As the square brackets vanish too, i wonder if this is happening in the final conversion somehow?
Is this a bug or to be expected?
The text was updated successfully, but these errors were encountered: