daniellmb / markdownsharp

Automatically exported from code.google.com/p/markdownsharp
1 stars 0 forks source link

code block on second line #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
You cannot have a code block on the second line of a string (with an empty
first line)

change the first line of the _codeBlock regex to (?:\n\n|\A\n?)

the optional new line character solves this issue and doesn't break any
existing tests.

Original issue reported on code.google.com by james.mdb@gmail.com on 2 Apr 2010 at 11:21

GoogleCodeExporter commented 9 years ago
outstanding, let me check that out and get back to you!

Original comment by wump...@gmail.com on 7 Jun 2010 at 10:20

GoogleCodeExporter commented 9 years ago
verified, good fix -- checking in. Thank you!

Original comment by wump...@gmail.com on 3 Jul 2010 at 8:13

GoogleCodeExporter commented 9 years ago
it only took you 3 months to type 1 character. 

keep up the good work.

;)

Original comment by james.mdb@gmail.com on 3 Jul 2010 at 8:26