aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Text/Pandoc/Citeproc/BibTeX.hs2
-rw-r--r--test/command/7266.md10
2 files changed, 12 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Citeproc/BibTeX.hs b/src/Text/Pandoc/Citeproc/BibTeX.hs
index f6833000c..b17240557 100644
--- a/src/Text/Pandoc/Citeproc/BibTeX.hs
+++ b/src/Text/Pandoc/Citeproc/BibTeX.hs
@@ -156,6 +156,7 @@ writeBibtexString opts variant mblang ref =
, "langid"
, "abstract"
, "keywords"
+ , "annote"
]
Bibtex ->
[ "author"
@@ -175,6 +176,7 @@ writeBibtexString opts variant mblang ref =
, "address"
, "type"
, "note"
+ , "annote"
]
valToInlines (TextVal t) = B.text t
diff --git a/test/command/7266.md b/test/command/7266.md
new file mode 100644
index 000000000..9db833636
--- /dev/null
+++ b/test/command/7266.md
@@ -0,0 +1,10 @@
+```
+% pandoc -f biblatex -t biblatex -s
+@article{id,
+ annote = "annotation"
+}
+^D
+@article{id,
+ annote = {annotation}
+}
+```