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

An indented code block following a list, without an intervening paragraph, does not get formatted correctly #26

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open /browser/demo.html
2. Input the following text into the editor:

This is a bug.

    here is a code block, properly monospaced

But if I start a list,

* even if it only has one item

    and then I try to make a code block, it doesn't work.

On the other hand, if I start another normal paragraph first,

    code blocks work again



What is the expected output? What do you see instead?

"    and then I try to make a code block, it doesn't work." should be displayed 
as a code block. Instead it is included as part of the list element.

What version of the product are you using? On what operating system?

changeset:   21:44a4db795617
tag:         tip
user:        balpha
date:        Fri Mar 02 14:55:03 2012 +0100

Original issue reported on code.google.com by pjohnme...@gmail.com on 11 Apr 2012 at 3:22

@GoogleCodeExporter
Copy link
Author

This is unfixable, because it's an ambiguity in the Markdown specification. See 
my extended explanation at http://meta.stackoverflow.com/a/99637/115866.

Original comment by b...@stackoverflow.com on 11 Apr 2012 at 3:25

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Yeah, I just came back to try to withdraw this because I re-read that part of 
the markdown spec trying to figure out how to fix it. Sorry to bother you.

Original comment by pjohnme...@gmail.com on 11 Apr 2012 at 3:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant