From 6a01c5d93fada82cbbf6c00863fa8f73fb89681c Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 11 Apr 2013 23:32:18 +0100 Subject: Display result in browser demo --- index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b3bc2e0..5ee7e61 100644 --- a/index.html +++ b/index.html @@ -2,8 +2,8 @@ Mammoth - - + +
+
+
@@ -38,7 +40,7 @@ var arrayBuffer = loadEvent.target.result; converter.convertToHtml({file: openFile(arrayBuffer)}) .then(function(result) { - console.log(result); + document.getElementById("output").innerHTML = result.html; }) .done(); }; -- cgit v1.2.3