diff --git a/trypandoc/index.html b/trypandoc/index.html index 2e23f58f6..2fe93efdb 100644 --- a/trypandoc/index.html +++ b/trypandoc/index.html @@ -175,7 +175,7 @@

pandoc version

- + diff --git a/trypandoc/trypandoc.js b/trypandoc/trypandoc.js index d97062b37..a3a7cfd04 100644 --- a/trypandoc/trypandoc.js +++ b/trypandoc/trypandoc.js @@ -78,7 +78,11 @@ function convert() { fetch("/cgi-bin/pandoc-server.cgi", { method: "POST", headers: {"Content-Type": "application/json"}, - body: JSON.stringify(params) + body: JSON.stringify({ from: params.from, + to: params.to, + text: params.text, + standalone: params.standalone, + filters: params.citeproc ? ["citeproc"] : [] }) }) .then(handleErrors) .then(response => response.text())