From 76076959701af2bb780b533f55e0459efb7a7bbc Mon Sep 17 00:00:00 2001 From: Tuan Cao Date: Wed, 16 Mar 2022 14:27:36 +0700 Subject: [PATCH] Remove preprocessThreeDashes call as it cause some content become empty. --- lib/post.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/post.js b/lib/post.js index 30f0a2a..416b196 100644 --- a/lib/post.js +++ b/lib/post.js @@ -50,7 +50,7 @@ export function getSinglePost(filename) { const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent) //console.log("\tFounded front matter data: ", currentFileFrontMatter, "\n") - fileContent = Transformer.preprocessThreeDashes(fileContent) + // fileContent = Transformer.preprocessThreeDashes(fileContent) //fileContent = fileContent.split("---").join("") //console.log("filecontent end")