From 3e5400441565185ce1f61512bac305fc61f28993 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 19 Aug 2022 09:02:13 -0700 Subject: [PATCH] trypandoc: temporary workaround for #8235. --- trypandoc/index.html | 2 +- trypandoc/trypandoc.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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())