Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix markdown instructions in Star Wars #28386

Merged
merged 1 commit into from May 7, 2019
Merged

Conversation

Hamms
Copy link
Contributor

@Hamms Hamms commented May 6, 2019

The invalid markdown format we use here was invalidated in
#27120 and wasn't
caught by our "markdown conversion" project because it's in levels.js
rather than levelbuilder

The invalid markdown format we use here was invalidated in
#27120 and wasn't
caught by our "markdown conversion" project because it's in levels.js
rather than levelbuilder
@Hamms Hamms requested a review from joshlory May 6, 2019 20:53
Copy link
Contributor

@joshlory joshlory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Are there other level.js instructions we should preemptively check?

@@ -3555,44 +3555,47 @@ var js_hoc2015_event_free_markdown = [
'',
'<details class="hoc2015">',
'<summary>Example project ideas</summary>',
'<p>**Example 1**',
'<p><strong>Example 1</strong>',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Markdown inside HTML isn't allowed with the new parser?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct. Specifically, content that should be parsed as HTML must be separated from content that should be parsed as Markdown with blank lines

See https://daringfireball.net/projects/markdown/syntax#html

@joshlory
Copy link
Contributor

joshlory commented May 6, 2019

Was this caught by Eyes tests, a user report, or something else?

@Hamms
Copy link
Contributor Author

Hamms commented May 6, 2019

This was caught by me; an eyes test failed on this level for unrelated reasons, and I noticed this problem while looking at the level

@Hamms
Copy link
Contributor Author

Hamms commented May 6, 2019

It would probably be worth spot-checking the other levels.js instructions; I think most of them tend to be pretty simple, though, so I wouldn't expect there to be similar violations

@Hamms Hamms merged commit 4f84874 into staging May 7, 2019
@Hamms Hamms deleted the fix-starwars-instructions branch May 7, 2019 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants