From 9b854d84b744abc4ee1a1dfe02274d4a2b3ff11c Mon Sep 17 00:00:00 2001 From: nrew225 Date: Mon, 5 Dec 2016 10:07:39 -0600 Subject: [PATCH] test.js md formatting --- test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index f06a9200..98d2ccd2 100644 --- a/test.js +++ b/test.js @@ -1,6 +1,6 @@ const fs = require('fs') var log = '{\n' -var issuelog = ' "message": "#### Syntax Issues\n\n Name | Entry\n----|----------------------\n' +var issuelog = ' "message": "#### Syntax Issues\\n\\n Name | Entry\\n----|----------------------\\n' var file = fs.readFileSync(process.argv[2], 'utf8') entryErrorCheck(file) @@ -25,7 +25,7 @@ function entryErrorCheck (md) { console.log(entryArray[i].name + 'Failed.') // entryArray[i].error = findError(entries[i]) //WIP totalFail += 1 - issuelog += entryArray[i].name + ' | ' + entries[i] + '\n' + issuelog += entryArray[i].name + ' | ' + entries[i] + '\\n' } } }