When I was trying to convert a web page to Markdown, the original HTML <p> tags did not contain any line breaks. The expected behavior was for it to be output as a single Markdown paragraph, but when markdownify processed this paragraph, it inserted extra line breaks.
This is my code:
At the end of the output file, 1.md, you can observe the unexpected line break behavior.