@@ -39,7 +39,7 @@ $(document).ready(function() {
39 if (text && text != "") {
39 if (text && text != "") {
40 $.getJSON("/cgi-bin/trypandoc", { from: from, to: to, text: text },
40 $.getJSON("/cgi-bin/trypandoc", { from: from, to: to, text: text },
41 function(res) {
41 function(res) {
42− $("#results").text(res.result);
42+ $("#results").text(res.html);
43 $("#version").text(res.version);
43 $("#version").text(res.version);
44 $("#command").text("pandoc --from " + from + " --to " + to);
44 $("#command").text("pandoc --from " + from + " --to " + to);