aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-02-01 14:20:05 -0800
committerJohn MacFarlane <[email protected]>2023-02-01 14:20:05 -0800
commit1a7146ba701fe383c268820eff0dd43af0ce2d7f (patch)
tree4de54df0e3544515c906ab8526334fbe8781b5e3 /test/command
parent58dfc3115ad920081d14614847446e694f7256cf (diff)
Handle % in biblatex doi field.
Closes #8595.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/7678.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/command/7678.md b/test/command/7678.md
index b6a09ef20..df3498580 100644
--- a/test/command/7678.md
+++ b/test/command/7678.md
@@ -29,3 +29,34 @@
}
]
```
+```
+% pandoc -f bibtex -t csljson
+@misc{doe,
+ author = "Jane Doe",
+ title = "Work",
+ year = "2021",
+ doi = "%20and%20"
+}
+^D
+[
+ {
+ "DOI": "%20and%20",
+ "author": [
+ {
+ "family": "Doe",
+ "given": "Jane"
+ }
+ ],
+ "id": "doe",
+ "issued": {
+ "date-parts": [
+ [
+ 2021
+ ]
+ ]
+ },
+ "title": "Work",
+ "type": ""
+ }
+]
+```