reverse_markdown icon indicating copy to clipboard operation
reverse_markdown copied to clipboard

Doesn't handle <br><br> within <strong></strong>

Open bkazez opened this issue 5 years ago • 1 comments

ReverseMarkdown.convert("<strong>hello<br><br>world</strong>")

=>

**hello  
  
world** 

Expected:

**hello**  
  
**world**  

bkazez avatar Jan 17 '21 03:01 bkazez

Related:

[70] pry(main)> ReverseMarkdown.convert '<h1>foo<br>bar</h1>'

=> "# foo  \nbar\n"

directionless avatar Mar 03 '23 03:03 directionless