From 046d69a41c586a378689e277ea444da3ed03aecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 26 Mar 2019 03:07:25 +0100 Subject: [PATCH] RemovedMdToc disabled --- web/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/script.js b/web/script.js index 237e1c9..bd76bea 100644 --- a/web/script.js +++ b/web/script.js @@ -19,9 +19,9 @@ function parseMd() { function removeMdToc(text) { out = [] - console.log(text) - return text lines = text.match(/[^\r\n]+/g); + console.log(lines) + return text insideContents = false for (line of lines) { if (line.trim() === 'Contents') {