From 01d10c53168dc4b2ef81bfb6b5b2e71152458522 Mon Sep 17 00:00:00 2001 From: systimotic Date: Wed, 25 Jan 2017 21:33:05 +0100 Subject: [PATCH] Fix closing backticks indentation on bug report --- common/app/routes/challenges/redux/bug-saga.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/common/app/routes/challenges/redux/bug-saga.js b/common/app/routes/challenges/redux/bug-saga.js index 60e876ce865..3c59c0eec8d 100644 --- a/common/app/routes/challenges/redux/bug-saga.js +++ b/common/app/routes/challenges/redux/bug-saga.js @@ -1,5 +1,3 @@ -import dedent from 'dedent'; - import types from '../redux/types'; import { closeBugModal } from '../redux/actions'; @@ -12,13 +10,15 @@ function filesToMarkdown(files = {}) { } const fileName = moreThenOneFile ? `\\ file: ${file.contents}` : ''; const fileType = file.ext; - return fileString + dedent` - \`\`\`${fileType} - ${fileName} - ${file.contents} - \`\`\` - \n - `; + return fileString + + '\`\`\`' + + fileType + + '\n' + + fileName + + '\n' + + file.contents + + '\n' + + '\`\`\`\n\n'; }, '\n'); }