summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/responders.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responders.js b/src/responders.js
index e6ec5d0..b9758f3 100644
--- a/src/responders.js
+++ b/src/responders.js
@@ -50,7 +50,7 @@ function layout(config, pageTitle, pageElement) {
       alt: config.site.author.name,
       src: config.site.author.photo
     },
-    "body > main": pageElement
+    "body > main": pageElement.outerHTML
   }).outerHTML.trim();
 }