diff --git a/includes/contact.js b/includes/contact.js index 07bd238..f78c4ef 100644 --- a/includes/contact.js +++ b/includes/contact.js @@ -185,7 +185,6 @@ module.exports = */ main: function(request, result) { - console.log("fuck me"); result.writeHead(200, {'Content-Type': 'text/html'}); Promise.all([includes.printAdminHeader(), processContactPage(request), diff --git a/includes/html/header.html b/includes/html/header.html index db302d4..a941227 100644 --- a/includes/html/header.html +++ b/includes/html/header.html @@ -27,7 +27,21 @@ - + + diff --git a/utils/renderBlogPost.js b/utils/renderBlogPost.js index 5c4ef69..46e492f 100644 --- a/utils/renderBlogPost.js +++ b/utils/renderBlogPost.js @@ -90,6 +90,9 @@ module.exports= result = result.split("
").join("
"); + //this line prevents older versions of pandoc from including invalid cdm scripts + result = result.split("").join(""); + if(blocks == -1) resolve(result); @@ -100,7 +103,7 @@ module.exports= html += "

" + htmlBlocks[i]; } - html += "

\n" + + html += "
\n" + "