jasongaylord / markdownsharp

Project that ports code.google.com/p/markdownsharp to .NET Core 1.1
MIT License
9 stars 1 forks source link

Strange <p> tag placement #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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