Repository navigation
Commit 7b8c15e
committed
tests: check a duplicate key in a YAML bibliography fails the render
The delimited fixture used to carry a duplicate title to show that
Quarto's own read of the file (json: true in bibliography.ts) keeps
the last value, as Pandoc did. Pandoc 3.13 rejects duplicate keys when
the render reads the bibliography, so that path is unreachable and the
fixture dropped the duplicate. This document keeps the case covered
from the user's side: the render fails with an error naming the file,
line and column. With Pandoc 3.10 it renders and the test fails.
The bibliography.ts comment claimed Pandoc also keeps the last value;
it now says Pandoc rejects the duplicate.1 parent 3bffdef commit 7b8c15e
3 files changed
Lines changed: 30 additions & 1 deletion
File tree
- src/core
- tests/docs/smoke-all/2026/10/14/scholar-references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments