hey-red / Markdown

Open source C# implementation of Markdown processor, as featured on Stack Overflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange <p> tag placement

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Use this string:
@Master['master']
@Section['Content']
`code span`

In the middle `another code span` lives

`final code span`

@EndSection



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

I see:

<p>@Master['master']
@Section['Content']
<code>code span</code></p>

<p>In the middle <code>another code span</code> lives</p>

<p><code>final code span</code></p>

<p>@EndSection</p>

Expect:

<p>@Master['master']</p>
<p>@Section['Content']</p>
<p><code>code span</code></p>

<p>In the middle <code>another code span</code> lives</p>

<p><code>final code span</code></p>

<p>@EndSection</p>


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

Please provide any additional information below.

Is there a flag or something I can pass in or is it a bug?

Original issue reported on code.google.com by jonathan...@gmail.com on 19 Mar 2014 at 8:17