pandoc/test/command/citeproc-17.md
John MacFarlane fd3809c33f Unescape entities in writing CSL JSON.
The renderCslJson function escapes `<`, `>`, and `&` as entities.
This is appropriate when generating HTML, but in CSL JSON
these are supposed to appear unescaped.

Closes jgm/citeproc#17.
2020-10-06 22:29:25 -07:00

167 B

% pandoc -t csljson
---
references:
- id: foo
  type: book
  title: "Hi & Low"
...
^D
[
  {
    "id": "foo",
    "title": "Hi & Low",
    "type": "book"
  }
]