reverse_markdown
reverse_markdown copied to clipboard
Doesn't handle <br><br> within <strong></strong>
ReverseMarkdown.convert("<strong>hello<br><br>world</strong>")
=>
**hello
world**
Expected:
**hello**
**world**
Related:
[70] pry(main)> ReverseMarkdown.convert '<h1>foo<br>bar</h1>'
=> "# foo \nbar\n"