From b6a68d8bdfa0b48a5fa604a0944f92e9fc0cdd8a Mon Sep 17 00:00:00 2001 From: lionel-rowe Date: Sun, 9 Jun 2019 01:11:40 +0100 Subject: [PATCH] fix: swap out raw HTML syntax for semantic/idiomatic markdown (#35917) Per this: https://www.freecodecamp.org/forum/t/forum-suggestion-unformatted-code-warning/134857/24 `` tags are not the semantically/idiomatically correct way to format code on Discourse. For example, `` renders as that exact HTML, when the intention was almost certainly to render `<span></span>` instead. --- client/src/templates/Challenges/redux/create-question-epic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/templates/Challenges/redux/create-question-epic.js b/client/src/templates/Challenges/redux/create-question-epic.js index c165fdfe5d..80073664f9 100644 --- a/client/src/templates/Challenges/redux/create-question-epic.js +++ b/client/src/templates/Challenges/redux/create-question-epic.js @@ -49,9 +49,9 @@ function createQuestionEpic(action$, state$, { window }) { '**Your code so far**\n', filesToMarkdown(files), '**Your browser information:**\n\n', - 'User Agent is: ', + 'User Agent is: `', userAgent, - '.\n\n', + '`.\n\n', '**Challenge:**\n', challengeTitle, '\n**Link to the challenge:**\n',