Open multiwebinc opened 2 years ago
According to https://spec.commonmark.org/0.30/#thematic-breaks, for thematic breaks,
[s]paces and tabs are allowed between the characters:
Therefore, we can use - - - (with spaces in between), which should produce a <hr /> tag in the HTML.
- - -
<hr />
This works in parsedown, except when the hr is after a ul:
hr
ul
- List item - - -
This incorrectly produces the HTML:
<ul> <li> <p>List item</p> </li> <li> <ul> <li>-</li> </ul> </li> </ul>
Expected output:
<ul> <li>List item</li> </ul> <hr />
According to https://spec.commonmark.org/0.30/#thematic-breaks, for thematic breaks,
Therefore, we can use
- - -
(with spaces in between), which should produce a<hr />
tag in the HTML.This works in parsedown, except when the
hr
is after aul
:This incorrectly produces the HTML:
Expected output: