-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
When enclosing a locator in braces, any formatting applied to the locator disappears.
Minimal working example
Using pandoc 3.7.0.2:
pandoc --citeproc -t markdown << EOT
---
references:
- id: VirgilAeneid
author: Virgil
title: Aeneid
type: book
---
Test 1 [@VirgilAeneid, [i.]{.smallcaps} 123*a*].
Test 2 [@VirgilAeneid, {[ii.]{.smallcaps} 456*b*}].
EOTActual result
Test 1 (Virgil, n.d., [i.]{.smallcaps} 123*a*).
Test 2 (Virgil, n.d., ii. 456b).
:::: {#refs .references .csl-bib-body .hanging-indent entry-spacing="0"}
::: {#ref-VirgilAeneid .csl-entry}
Virgil. n.d. *Aeneid*.
:::
::::
Expected result
The second example should be formatted identically to the first:
Test 1 (Virgil, n.d., [i.]{.smallcaps} 123*a*).
Test 2 (Virgil, n.d., [ii.]{.smallcaps} 456*b*).Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels