showdownjs / showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript
http://www.showdownjs.com/
MIT License
14.26k stars 1.56k forks source link

Why I only got a paragraph <p></p>? Is it normally? #793

Closed nl8590687 closed 4 years ago

nl8590687 commented 4 years ago

Showdown Version: 1.9.0

I input markdown like this:

test1

test2

and got output like this:

<p> test1
test2</p>

I want to know why is it not this:

<p>test1</p>
<p>test2</p>

sample url: https://asrt.ailemon.me/docs/test

nl8590687 commented 4 years ago

I got the reason why it is. My CDN provider will remove blank and \n that they think is repeated. Thanks.