html2md icon indicating copy to clipboard operation
html2md copied to clipboard

Breaks not converted

Open petko opened this issue 1 year ago • 0 comments

Describe the bug A have a simple HTML with <br> tags at the end of the lines and they are not converted properly.

To Reproduce Run html2md.exe breaks.html -p with the following HTML document:

<!DOCTYPE html>
<html lang="en">
  <head><meta charset="utf-8"></head>
<body>
  line 1<br>
  line 2<br>
</body>
</html>

You will get:

line 1
<br>

line 2
<br>


Expected behavior Should convert <br> to a new line instead.

petko avatar Apr 19 '24 09:04 petko