We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.1.1
The parser is not adding a newline between the tag and the subsequent tag, causing the Markdown to be rendered incorrectly.
The following HTML is not being parsed as expected:
<img src="https://placehold.co/600x400" loading="lazy" id="" width="auto" height="auto" alt="" /> <h3 id="">A new header</h3>
![](https://placehold.co/600x400)### A new header
![](https://placehold.co/600x400) ### A new header
$html = <<<HTML <img src="https://placehold.co/600x400" loading="lazy" id="" width="auto" height="auto" alt="" /> <h3 id="">A new header</h3> HTML; $converter = new HtmlConverter(); $markdown = $converter->convert($html); echo $markdown;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version(s) affected
5.1.1
Description
The parser is not adding a newline between the tag and the subsequent tag, causing the Markdown to be rendered incorrectly.
The following HTML is not being parsed as expected:
Current output
Expected output
How to reproduce
The text was updated successfully, but these errors were encountered: