Closed miamibc closed 6 years ago
I ran your sample output through Babelmark2 and it looks like most parsers handle that Markdown just fine: https://johnmacfarlane.net/babelmark2/?normalize=1&text=**This%0Atag**+will+break+the+markup
However, note that most of them do not render the line break. According to the CommonMark spec, we can fix this by adding two spaces after **This
. Most Markdown implementations will then render this line break: https://johnmacfarlane.net/babelmark2/?normalize=1&text=**This++%0Atag**+will+break+the+markup
First of all, thank you for very flexible library!
I found small problem. Converting HTML
<p><b>This<br>tag</b> will break the markup</p>
gives markdown that can't be displayed correctlyMy pull request allows to avoid such problem inside of some formatting tags (b, i, h1, h2...). Added necessary tests.