Skip to content

Commit 7f1867e

Browse files
committed
Fine tuning of Citation Appendix
(per #2723)
1 parent 18782fa commit 7f1867e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/format/html/format-html-appendix.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export async function processDocumentAppendix(
203203
bibTexLabelEl.classList.add(kQuartoSecondaryLabelClass);
204204
bibTexLabelEl.innerText =
205205
format.language[kAppendixAttributionBibTex] ||
206-
"BibTeX citation";
206+
"BibLaTeX citation";
207207
contentsDiv.appendChild(bibTexLabelEl);
208208

209209
const bibTexDiv = createCodeBlock(doc, cite.bibtex, "bibtex");

src/quarto-core/attribution/document.ts

+3
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ export function documentCSL(
123123
editor?.name
124124
),
125125
);
126+
if (csl.editor && csl.editor.length === 0) {
127+
csl.editor = undefined;
128+
}
126129

127130
// Categories
128131
const categories =

0 commit comments

Comments
 (0)