kjdev / hoextdown

Hoextdown is an extension to Hoedown
MIT License
23 stars 15 forks source link

Indented <pre> tag causes inconsistent behavior #46

Closed Sjlver closed 6 years ago

Sjlver commented 6 years ago

Hoedown generates weird results for the following examples:

<pre>In first pre
 </pre>

*foo*

<pre>In second pre</pre>
<pre>In first pre
 </pre>

*foo*

<p>In p</p>

In the first example, it does not convert *foo* to <em>foo</em>, but in the second example it does. It looks like an indented </pre> ends a pre-block iff there is no other pre block following later?!