trypandoc: temporary workaround for #8235.
This commit is contained in:
parent
d1083e15cb
commit
3e54004415
2 changed files with 6 additions and 2 deletions
|
@ -175,7 +175,7 @@
|
|||
<p class="version">pandoc version <span id="version"></span></p>
|
||||
</footer>
|
||||
|
||||
<script src="trypandoc.js?202208182155"></script>
|
||||
<script src="trypandoc.js?202208190901"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue