org-cite-basic-export-citation: Fix suffix inside brackets (year suffix)

* lisp/oc-basic.el (org-cite-basic-export-citation): Fix formatting
citation reference with brackets.  When year is placed inside
brackets, put the reference suffix outside.
This commit is contained in:
Ihor Radchenko 2024-01-16 13:36:18 +01:00
parent d51723102a
commit e6e8f0933a
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 3 additions and 2 deletions

View File

@ -700,8 +700,9 @@ export communication channel, as a property list."
(org-cite-concat p
(if caps (org-cite-capitalize a) a)
(if bare " " " (")
y s
(and (not bare) ")")))
y
(and (not bare) ")")
s))
info)))
;; "numeric" style.
;;