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

previously, when a fenced code block was in the second paragraph of a li... #443

Closed
wants to merge 1 commit into from

Conversation

sfrank2147
Copy link

previously, when a fenced code block was in the second paragraph of a list, marked would not respect the spacing of the code block in gfm mode. This fixes that bug.

… list, marked would not respect the spacing of the code block in gfm mode. This fixes that bug
@@ -112,8 +112,13 @@ main:
}

try {
text = engine(file.text).replace(/\s/g, '');
html = file.html.replace(/\s/g, '');
if(filename !== 'fenced_code_list_item.gfm.text') {
Copy link
Contributor

Choose a reason for hiding this comment

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

what's this?!

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, just saw this. Most of the tests get rid of whitespace, but whitespace is causing the problem that my pull request is fixing, so I didn't replace whitespace for my test's file.

@joshbruce
Copy link
Member

Closing as stale and merge conflicts.

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.

3 participants