Skip to content

Inconsistent parsing of Markdown in challenges #36879

@ojeytonwilliams

Description

@ojeytonwilliams

Describe the bug
Markdown in challenge description and instruction sections is parsed differently if it does or does not follow an empty line.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the markdown for any challenge
  2. Replace the description section with the following:
<section id='description'>
Line one `var`
Line two `var`

After empty line `var`
Second line after empty line `var`

After second empty line `var`
</section>
  1. See the following in the browser:
    MarkdownInconsistency

Expected behavior

That the Markdown gets parsed the second way. Namely backticks become <code> tags and an empty line is needed to start a new paragraph

Metadata

Metadata

Labels

scope: curriculumLessons, Challenges, Projects and other Curricular Content in curriculum directory.scope: tools/scriptsScripts for supporting dev work, generating config and build artifacts, etc.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions