Closed
Description
Input:
***test***
***
Output (second line will be rendered as a literal ***
):
<p><strong><em>test</em></strong>
***</p>
Expected output according to Markdown.pl:
<p><strong><em>test</em></strong>
</p>
<hr />
The same problem occurs with ---
and ___
as HR.
I think it can be fixed by changing RE
in HRProcessor
:
497c497
< RE = r'^[ ]{0,3}((-+[ ]{0,2}){3,}|(_+[ ]{0,2}){3,}|(\*+[ ]{0,2}){3,})[ ]*'
---
> RE = r'^[ ]{0,3}((-+[ ]{0,2}){3,}|(_+[ ]{0,2}){3,}|(\*+[ ]{0,2}){3,})[ ]*$'